This commit is contained in:
laodaming 2023-08-11 10:12:25 +08:00
parent df8772812a
commit b0e534de8c

View File

@ -25,7 +25,7 @@ import (
type pythonApiRsp struct {
Id string `json:"id"` //物料模板的id
LogoUrl string `json:"logo_url"` //logo地址
result string `json:"result"` //图片base64
Result string `json:"result"` //图片base64
}
// 消费渲染需要组装的数据
@ -258,7 +258,7 @@ func getCombineImage(ctx context.Context, svcCtx *svc.ServiceContext, parseInfo
}
uploadRes, err := upload.UploadFileByBase64(&file.UploadBaseReq{
FileHash: combineHash,
FileData: pythonApiInfo.result,
FileData: pythonApiInfo.Result,
UploadBucket: 1,
ApiType: 2,
UserId: parseInfo.RenderData.UserId,