Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-mobile
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
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
64e73e46
authored
Mar 10, 2020
by
zhangchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试路径
parent
d211c7f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/webapp/websocket.jsp
src/main/webapp/websocket.jsp
View file @
64e73e46
...
@@ -77,12 +77,12 @@
...
@@ -77,12 +77,12 @@
function send() {
function send() {
var message = document.getElementById('
text
'
).
value
;
var message = document.getElementById('
text
'
).
value
;
var
bodys
=
new
Array
(
1
);
var
bodys
=
new
Array
(
1
);
var
body
=
{
"deviceId"
:
"15D4037493C275B949FE6FDB3C0047F532"
,
"courseName"
:
"旭宝"
,
"u
serId"
:
"13525833395,19821271996,18983401147
"
};
var
body
=
{
"deviceId"
:
"15D4037493C275B949FE6FDB3C0047F532"
,
"courseName"
:
"旭宝"
,
"u
"
:
"13525833395
"
};
bodys
[
0
]
=
body
;
bodys
[
0
]
=
body
;
//bodys["uid"] = "19821271996";
//bodys["uid"] = "19821271996";
message
=
{
message
=
{
"id"
:
"1234567"
,
"id"
:
"1234567"
,
"code"
:
"00
5
"
,
"code"
:
"00
2
"
,
"body"
:
body
"body"
:
body
}
}
//alert(JSON.stringify(message));
//alert(JSON.stringify(message));
...
...
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