fix
This commit is contained in:
parent
a6a01dae3d
commit
91b45e3595
|
@ -41,6 +41,8 @@ func NewRenderNotifyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Rend
|
|||
// }
|
||||
|
||||
func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq, userinfo *auth.UserInfo) (resp *basic.Response) {
|
||||
//统计unity处理数
|
||||
decreaseUnityRequestCount(req.UserId, req.GuestId)
|
||||
logx.Info("=====收到unity返回的渲染结果消息======")
|
||||
req.TaskId = strings.Trim(req.TaskId, " ")
|
||||
if req.TaskId == "" {
|
||||
|
|
|
@ -59,8 +59,6 @@ func (w *wsConnectItem) sendRenderDataToUnityStepResponseMessage(requestId strin
|
|||
|
||||
// 发送渲染最终结果数据到前端
|
||||
func (w *wsConnectItem) sendRenderResultData(data websocket_data.RenderImageRspMsg) {
|
||||
//统计unity处理数
|
||||
decreaseUnityRequestCount(w.userId, w.guestId)
|
||||
//没开启debug
|
||||
if w.debug == nil {
|
||||
data.RenderProcessTime = websocket_data.RenderProcessTime{}
|
||||
|
|
Loading…
Reference in New Issue
Block a user