fix
This commit is contained in:
@@ -15,12 +15,9 @@ service websocket {
|
||||
//云渲染完了通知接口
|
||||
@handler RenderNotifyHandler
|
||||
post /api/websocket/render_notify(RenderNotifyReq) returns (response);
|
||||
//注册回调
|
||||
@handler RegisterAccountNotifyHandler
|
||||
post /api/websocket/register_account_notify(RegisterAccountNotifyReq) returns (response);
|
||||
//登录回调
|
||||
@handler LoginNotifyHandler
|
||||
post /api/websocket/login_notify(LoginNotifyReq) returns (response);
|
||||
//通用回调接口
|
||||
@handler CommonNotifyHandler
|
||||
post /api/websocket/common_notify(CommonNotifyReq) returns (response);
|
||||
}
|
||||
|
||||
//渲染完了通知接口
|
||||
@@ -30,11 +27,8 @@ type RenderNotifyReq {
|
||||
GuestId int64 `json:"guest_id"`
|
||||
Image string `json:"image"`
|
||||
}
|
||||
//注册回调
|
||||
type RegisterAccountNotifyReq {
|
||||
Data string `json:"data"` //aes_cbc加密密文
|
||||
}
|
||||
//登录回调
|
||||
type LoginNotifyReq {
|
||||
Data string `json:"data"` //aes_cbc加密密文
|
||||
//通用回调接口
|
||||
type CommonNotifyReq {
|
||||
WebsocketId string `json:"websocket_id"` //websocket连接标识
|
||||
Data string `json:"data"` //aes_cbc加密密文
|
||||
}
|
||||
Reference in New Issue
Block a user