hh-doctor-sdk 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,19 +39,6 @@ module.exports = Behavior({
|
|
|
39
39
|
wx.showToast({
|
|
40
40
|
title: update ? '更新时间完成' : '设置时间完成',
|
|
41
41
|
})
|
|
42
|
-
wx.requestSubscribeMessage({
|
|
43
|
-
tmplIds: ['wsBcrNpvBt8a8pneIRNY8JdHKXYxhHxjONrelT8K5zQ'],
|
|
44
|
-
success: (res) => {
|
|
45
|
-
wx.showToast({
|
|
46
|
-
title: '订阅成功',
|
|
47
|
-
})
|
|
48
|
-
},
|
|
49
|
-
fail: (error) => {
|
|
50
|
-
wx.showToast({
|
|
51
|
-
title: error,
|
|
52
|
-
})
|
|
53
|
-
}
|
|
54
|
-
})
|
|
55
42
|
setTimeout(() => {
|
|
56
43
|
this.loadOrderInfo()
|
|
57
44
|
}, 1000);
|
|
@@ -205,6 +205,19 @@ Page({
|
|
|
205
205
|
},
|
|
206
206
|
|
|
207
207
|
changeDateTime(e) {
|
|
208
|
+
wx.requestSubscribeMessage({
|
|
209
|
+
tmplIds: ['wsBcrNpvBt8a8pneIRNY8JdHKXYxhHxjONrelT8K5zQ'],
|
|
210
|
+
success: (res) => {
|
|
211
|
+
wx.showToast({
|
|
212
|
+
title: '订阅成功',
|
|
213
|
+
})
|
|
214
|
+
},
|
|
215
|
+
fail: (error) => {
|
|
216
|
+
wx.showToast({
|
|
217
|
+
title: error,
|
|
218
|
+
})
|
|
219
|
+
}
|
|
220
|
+
})
|
|
208
221
|
this._changeDateTime(e)
|
|
209
222
|
},
|
|
210
223
|
|
|
@@ -213,6 +226,19 @@ Page({
|
|
|
213
226
|
},
|
|
214
227
|
|
|
215
228
|
changeDateTimeControl(e) {
|
|
229
|
+
wx.requestSubscribeMessage({
|
|
230
|
+
tmplIds: ['wsBcrNpvBt8a8pneIRNY8JdHKXYxhHxjONrelT8K5zQ'],
|
|
231
|
+
success: (res) => {
|
|
232
|
+
wx.showToast({
|
|
233
|
+
title: '订阅成功',
|
|
234
|
+
})
|
|
235
|
+
},
|
|
236
|
+
fail: (error) => {
|
|
237
|
+
wx.showToast({
|
|
238
|
+
title: error,
|
|
239
|
+
})
|
|
240
|
+
}
|
|
241
|
+
})
|
|
216
242
|
this._changeDateTime(e.detail, false)
|
|
217
243
|
},
|
|
218
244
|
|