Commit e631a2a138b61d4a51b5be8102c9d61ec0d073f3
1 parent
eb5fd8c9
提交预约bug修改,我的服务项目接口出错的话就显示无服务项目
Showing
2 changed files
with
5 additions
and
5 deletions
pages/user/my_service/appment_main.js
... | ... | @@ -99,6 +99,7 @@ Page({ |
99 | 99 | getApp().my_warnning("请选择预约时间", 0, th); |
100 | 100 | return false; |
101 | 101 | } else { |
102 | + | |
102 | 103 | var url = th.data.inurl + "/api/weshop/marketing/reservation/reservation/insert"; //接口路径 |
103 | 104 | var serviceId = th.data.itemId; //服务id |
104 | 105 | var beauticianID = th.data.beauticianID; //美容师id |
... | ... | @@ -219,17 +220,14 @@ Page({ |
219 | 220 | wx.requestSubscribeMessage({ |
220 | 221 | tmplIds: [template_id], |
221 | 222 | success(res) { |
222 | - th.success(); | |
223 | 223 | }, |
224 | 224 | fail(res) { |
225 | - th.success(); | |
226 | 225 | } |
227 | 226 | }) |
228 | 227 | } else { |
229 | - th.success(); | |
230 | 228 | } |
231 | 229 | }) |
232 | - | |
230 | + th.success(); | |
233 | 231 | }, |
234 | 232 | goto: function(e) { |
235 | 233 | var th = this; | ... | ... |