This commit is contained in:
laodaming 2023-11-27 15:05:18 +08:00
parent 80d04d9ae1
commit 3c8cb1b5f4

View File

@ -490,6 +490,22 @@ func (w *wsConnectItem) assembleRenderDataToUnity(taskId string, resolution int,
"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)
temId := websocket_data.ToUnityIdStruct{