Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop

This commit is contained in:
eson 2023-09-04 17:46:03 +08:00
commit 4b7f0bceaf
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ func NewRenderNotifyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Rend
// }
func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq, userinfo *auth.UserInfo) (resp *basic.Response) {
logx.Info("收到unity返回消息----")
logx.Info("=====收到unity返回的渲染结果消息======")
req.TaskId = strings.Trim(req.TaskId, " ")
if req.TaskId == "" {
logx.Error("渲染回调参数错误:任务标识")

View File

@ -29,7 +29,7 @@ type RenderNotifyReq {
}
//通用回调接口
type CommonNotifyReq {
Wid string `json:"wid,optional"` //websocket连接标识
Wid string `json:"wid,optional"` //websocket连接标识(找ws连接优先级高于user_id和guestid)
UserId int64 `json:"user_id,optional"` //用户id
GuestId int64 `json:"guest_id,optional"` //游客id
Data map[string]interface{} `json:"data"` //后端与前端约定好的数据