fix
This commit is contained in:
parent
80d04d9ae1
commit
3c8cb1b5f4
|
@ -490,6 +490,22 @@ func (w *wsConnectItem) assembleRenderDataToUnity(taskId string, resolution int,
|
||||||
"data": tempData,
|
"data": tempData,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
//**************************
|
||||||
|
if w.userId == 127 {
|
||||||
|
result = []interface{}{
|
||||||
|
map[string]interface{}{
|
||||||
|
"light": 22,
|
||||||
|
"refletion": refletion,
|
||||||
|
"scale": *element.Scale,
|
||||||
|
"sku_id": info.RenderData.ProductId,
|
||||||
|
"tid": *element.Title,
|
||||||
|
"rotation": *element.Rotation,
|
||||||
|
"filePath": "", //todo 文件路径,针对千人千面
|
||||||
|
"data": tempData,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//*******************************
|
||||||
//发送运行阶段消息(组装数据)
|
//发送运行阶段消息(组装数据)
|
||||||
w.sendAssembleRenderDataStepResponseMessage(info.RequestId)
|
w.sendAssembleRenderDataStepResponseMessage(info.RequestId)
|
||||||
temId := websocket_data.ToUnityIdStruct{
|
temId := websocket_data.ToUnityIdStruct{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user