Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop
This commit is contained in:
		
						commit
						4b7f0bceaf
					
				@ -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("渲染回调参数错误:任务标识")
 | 
			
		||||
 | 
			
		||||
@ -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"`              //后端与前端约定好的数据
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user