diff --git a/server/websocket/internal/logic/ws_render_image_logic.go b/server/websocket/internal/logic/ws_render_image_logic.go index 9ce08701..62c9d218 100644 --- a/server/websocket/internal/logic/ws_render_image_logic.go +++ b/server/websocket/internal/logic/ws_render_image_logic.go @@ -267,7 +267,7 @@ func (w *wsConnectItem) assembleRenderData(taskId string, info websocket_data.Re "folder": "", //todo 千人千面需要使用 } //请求unity接口 - url := "http://api.fusen.3718.cn:4050/api/render/queue/push" + url := w.logic.svcCtx.Config.Unity.Host + "/api/render/queue/push" header := make(map[string]string) header["content-type"] = "application/json" t := time.Now().UTC()