| @@ -372,24 +372,6 @@ Page({ | |||
| send: function () { | |||
| var _this = this; | |||
| if (_this.data.input) { | |||
| // wx.sendSocketMessage({ | |||
| // data: _this.data.input, | |||
| // success: (res) => { | |||
| // console.log(`发送成功`) | |||
| // console.log(res) | |||
| // // let { sendMemberId, receiveMemberId, businessCommunicationDemandId } = _this.data; | |||
| // // let params = { | |||
| // // sender: receiveMemberId, // 发件人Id | |||
| // // addressee: sendMemberId, // 收件人Id | |||
| // // transactionId: businessCommunicationDemandId, // 产品ID | |||
| // // content: _this.data.input | |||
| // // }; | |||
| // }, | |||
| // fail: (err) => { | |||
| // console.log('sendSocketMessage', '失败') | |||
| // } | |||
| // }) | |||
| // return | |||
| this.sendmsgApi(_this.data.input, 0); | |||
| } | |||
| }, | |||
| @@ -435,7 +417,6 @@ Page({ | |||
| newsList: list, | |||
| input: null, | |||
| inputShowed: true, | |||
| currentGuid:tempGuid | |||
| }) | |||
| this.scrollBottom() | |||
| // 表情选择隐藏 | |||