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

This commit is contained in:
momo 2023-08-22 10:48:23 +08:00
commit 0440bd02a4
2 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,7 @@ func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq, userinfo *a
//记录收到unity渲染结果时间
ws.modifyRenderTaskTimeConsuming(renderImageControlChanItem{
Option: 2,
TaskId: req.TaskId,
TaskProperty: renderTask{
UnityRenderEndTime: time.Now().UTC().Unix(),
},

View File

@ -181,6 +181,7 @@ func (w *wsConnectItem) assembleRenderData(taskId string, info websocket_data.Re
//记录刀版图合成开始时间
w.modifyRenderTaskTimeConsuming(renderImageControlChanItem{
Option: 2,
TaskId: taskId,
TaskProperty: renderTask{
CombineBeginTime: time.Now().UTC().Unix(),
},
@ -211,6 +212,7 @@ func (w *wsConnectItem) assembleRenderData(taskId string, info websocket_data.Re
//记录刀版图合成结束时间
w.modifyRenderTaskTimeConsuming(renderImageControlChanItem{
Option: 2,
TaskId: taskId,
TaskProperty: renderTask{
CombineEndTime: time.Now().UTC().Unix(),
},
@ -317,6 +319,7 @@ func (w *wsConnectItem) assembleRenderData(taskId string, info websocket_data.Re
//记录发送到unity时间
w.modifyRenderTaskTimeConsuming(renderImageControlChanItem{
Option: 2,
TaskId: taskId,
TaskProperty: renderTask{
UnityRenderBeginTime: time.Now().UTC().Unix(),
},