fix
This commit is contained in:
parent
7cd73a8c96
commit
a4aa2c5f07
|
@ -543,7 +543,9 @@ func (w *wsConnectItem) assembleRenderDataToUnity(taskId string, resolution int,
|
|||
}
|
||||
postDataBytes, _ := json.Marshal(postData)
|
||||
beginPostTime := time.Now().UTC().UnixMilli()
|
||||
logx.Info("请求unity接口数据:", string(postDataBytes))
|
||||
if w.userId == 127 && info.RenderData.ProductId == 32 {
|
||||
logx.Info("请求unity接口数据:", string(postDataBytes))
|
||||
}
|
||||
_, err = curl.ApiCall(url, "POST", header, bytes.NewReader(postDataBytes), time.Second*10)
|
||||
if err != nil {
|
||||
w.renderErrResponse(info.RequestId, info.RenderData.TemplateTag, taskId, "请求unity接口失败", info.RenderData.ProductId, w.userId, w.guestId, productTemplate.Id, model3dInfo.Id, productSize.Id, *productTemplate.ElementModelId)
|
||||
|
|
Loading…
Reference in New Issue
Block a user