Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swooleframe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
石振业
swooleframe
Commits
4480c52c
Commit
4480c52c
authored
Oct 31, 2018
by
734642908@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文档说明
parent
cf2aff6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
README.md
README.md
+17
-0
No files found.
README.md
View file @
4480c52c
...
...
@@ -32,4 +32,20 @@ a:操作方法 m:模块名称 d:请求数据
c:状态码 msg:状态描述 d:数据内容
http测试地址:http://193.112.57.224:9501/
websocket测试地址:ws://193.112.57.224:9501/
#绑定用户uid:
{"a":"set_info","m":"user","d":{"token":"xxxxx"}}
{"c":1,"msg":"保存成功"}
#获取现在人数:
{"a":"online_num","m":"user"}
{"c":1,"msg":"success","d":{"num":1}}
#给用户发送消息:
{"a":"send_msg","m":"user","d":{"to_uid":"91851043","from_uid":"56032607","content":"hello"}}
{"c":1,"msg":"发送成功"}
\ No newline at end of file
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