소스 검색

Merge remote-tracking branch 'origin/master'

chenxiqiang 6 년 전
부모
커밋
3becffcde3
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    1
      miniapp/app/pages/bookService/index.js
  2. 2
    1
      miniapp/app/pages/order/index.js

+ 2
- 1
miniapp/app/pages/bookService/index.js 파일 보기

38
             phone,
38
             phone,
39
             address,
39
             address,
40
             notes,
40
             notes,
41
-            options
41
+            options,
42
+            api
42
         } = this.data;
43
         } = this.data;
43
         if (!name || !phone || !address) {
44
         if (!name || !phone || !address) {
44
             return $.wx.showToast({
45
             return $.wx.showToast({

+ 2
- 1
miniapp/app/pages/order/index.js 파일 보기

35
         });
35
         });
36
     },
36
     },
37
     toPay(e) {
37
     toPay(e) {
38
+        const _this = this;
38
         const {
39
         const {
39
             id,
40
             id,
40
             type
41
             type
63
                         success(res) {
64
                         success(res) {
64
                             console.log('支付成功', res);
65
                             console.log('支付成功', res);
65
                             $.wx.hideToast('loading');
66
                             $.wx.hideToast('loading');
66
-
67
+                            _this.init();
67
                         },
68
                         },
68
                         fail() {
69
                         fail() {
69
                             $.wx.showToast({
70
                             $.wx.showToast({

Loading…
취소
저장