Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b36c20be
authored
a year ago
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xg
parent
4678bce3
master
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
js/webAppComm.js
js/webAppComm.js
View file @
b36c20be
...
...
@@ -33,7 +33,8 @@
// 36:播放動畫
// 37:web页面加载完毕时
// 38: 打开签到提醒
// 39: 告知客户端渠道信息
function
webAppComm
()
{
this
.
data
=
null
;
...
...
@@ -454,6 +455,19 @@ webAppComm.prototype.openSignRemind = function () {
var
obj2
=
JSON
.
stringify
(
obj
);
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
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment