Browse Source

Merge branch 'master' of http://git.cc-lotus.info/ball-court/ball-applet

guhongwei 2 years ago
parent
commit
63bfaba5cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/stuAdmin/course/sign.js

+ 1 - 1
pages/stuAdmin/course/sign.js

@@ -82,7 +82,7 @@ Page({
                                         let lessonStudent = await app.$post(`/lessonStudent`, params);
                                         if (lessonStudent.errcode == '0') {
                                             wx.showToast({ title: `报名申请完成`, icon: 'success', duration: 2000 });
-                                            const pay = await app.$post(`/payOrder/${arr.data.data._id}`, { from_id: lessonStudent.data._id });
+                                            const pay = await app.$post(`/payOrder/${arr.data.data._id}`, { from_id: lessonStudent.data._id, status: '1' });
                                             if (pay.errcode == '0') that.watchLogin();
                                         }
                                         else wx.showToast({ title: `${lessonStudent.errmsg}`, icon: 'error', duration: 2000 })