This commit is contained in:
laodaming 2023-11-23 10:40:32 +08:00
parent 0cca95db04
commit 53e20dfd63

View File

@ -384,7 +384,7 @@ func (w *wsConnectItem) assembleRenderDataToUnity(taskId string, resolution int,
return err
}
}
//组装data数据
//组装data数据(参照以前PHP,不要随便动)
var mode map[string]interface{}
if element.Mode != nil && *element.Mode != "" {
if err = json.Unmarshal([]byte(*element.Mode), &mode); err != nil {