发送消息
GET
ws://localhost:18090/123
接口描述
发送的消息为JSON字符串,下面是字段
请求参数
参数名
类型
描述
必填
category
int
1:私聊 2:群聊
必填
fromuser
int
发送用户(本人的id)
必填
touser
int
接收用户(群聊不需要)
必填
msg
string
内容
必填