userId: 用户ID (float64)deviceType: 设备类型 (float64)password: 密码 (string)
- 成功时:
status: "success"message: "登录成功"
- 失败时:
status: "error"message: 错误信息
userName: 用户名 (string)deviceType: 设备类型 (float64)userPassword: 密码 (string)tag: 标签 (string,可选)
- 成功时:
status: "success"message: 注册成功信息
- 失败时:
status: "error"message: 错误信息
status: "success"message: "done"
id: 用户ID (float64)
status: "success"result: 在线状态 (true/false)
class: 班级名称 (string)
- 成功时:
status: "success"message: "添加班级成功"
- 失败时:
status: "error"message: 错误信息
recipient: 接收者ID (float64)content: 消息内容 (interface{})
- 成功时:
status: "success"message: 发送成功信息
- 失败时:
status: "error"message: 错误信息
command: "receiveMessage"message: 收到的消息内容