This commit is contained in:
laodaming 2023-11-27 15:49:22 +08:00
parent 6db48bd2b5
commit 7cd73a8c96

View File

@ -414,7 +414,7 @@ func (w *wsConnectItem) assembleRenderDataToUnity(taskId string, resolution int,
})
}
//×××××××××××××××××××××××××××××××××××××××××××××××××××××
if w.userId == 127 {
if w.userId == 127 && info.RenderData.ProductId == 32 {
if element.Base != nil && *element.Base != "" {
tempData = append(tempData, map[string]interface{}{
"name": "model_1",
@ -491,7 +491,7 @@ func (w *wsConnectItem) assembleRenderDataToUnity(taskId string, resolution int,
},
}
//**************************
if w.userId == 127 {
if w.userId == 127 && info.RenderData.ProductId == 32 {
result = []interface{}{
map[string]interface{}{
"light": 22,