Commit b36c20be by agan

xg

parent 4678bce3
Showing with 15 additions and 1 deletions
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
// 36:播放動畫 // 36:播放動畫
// 37:web页面加载完毕时 // 37:web页面加载完毕时
// 38: 打开签到提醒
// 39: 告知客户端渠道信息
function webAppComm() { function webAppComm() {
this.data = null; this.data = null;
...@@ -454,6 +455,19 @@ webAppComm.prototype.openSignRemind = function () { ...@@ -454,6 +455,19 @@ webAppComm.prototype.openSignRemind = function () {
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
webAppCollaboration(obj2); webAppCollaboration(obj2);
} }
// 39: 告知客户端渠道信息和uid
webAppComm.prototype.sendBindInfos = function (cid,uid) {
var obj = {
"cid": 39,
"data": {
"channelId": cid,
"agentUid": uid,
}
}
var obj2 = JSON.stringify(obj);
webAppCollaboration(obj2);
}
//接收客戶端的消息 //接收客戶端的消息
webAppComm.prototype.reMsgFromApp = function (callback) { webAppComm.prototype.reMsgFromApp = function (callback) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment