fix
This commit is contained in:
@@ -218,8 +218,8 @@ func getCombineImage(ctx context.Context, svcCtx *svc.ServiceContext, parseInfo
|
||||
}
|
||||
combineInfo["param_data"] = replaceData
|
||||
postData, _ := json.Marshal(combineInfo)
|
||||
//地址写死了目前
|
||||
url := "http://192.168.1.7:45678/LogoCombine"
|
||||
//请求合成图片
|
||||
url := svcCtx.Config.PythonApi.CombineImageUrl
|
||||
header := make(map[string]string)
|
||||
header["content-type"] = "application/json"
|
||||
httpRsp, err := curl.ApiCall(url, "POST", header, bytes.NewReader(postData), 20)
|
||||
|
||||
Reference in New Issue
Block a user