hh-doctor-sdk 0.4.8 → 0.5.0

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.
@@ -111,7 +111,7 @@ Component({
111
111
  async joinChannel(data) {
112
112
  const strRoomID = '' + data.roomID
113
113
  const uuid = cache.uuid()
114
- wx.statLog.sendStatLog(orderId, `声网开始进房 ${uuid} - ${strRoomID} - ${data.token}`)
114
+ wx.statLog.sendStatLog(this.properties.orderId, `声网开始进房 ${uuid} - ${strRoomID} - ${data.token}`)
115
115
  await this.client.join(data.token, strRoomID, uuid)
116
116
  const url = await this.client.publish()
117
117
  const ts = new Date().getTime()
@@ -345,7 +345,7 @@ module.exports = Behavior({
345
345
  wx.statLog.sendStatLog(this.data.orderId, '发送拒绝呼叫消息')
346
346
  message_api.bindData({
347
347
  'toUUID': this.data.expert.uuid,
348
- 'orderId': this.orderId
348
+ 'orderId': this.data.orderId
349
349
  })
350
350
  return message_api.sendReject()
351
351
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hh-doctor-sdk",
3
- "version": "0.4.8",
3
+ "version": "0.5.0",
4
4
  "description": "和缓名医小程序SDK",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"