This commit is contained in:
laodaming 2023-08-14 15:49:24 +08:00
parent 50da55d7bb
commit 1c03e5bb01

View File

@ -17,7 +17,6 @@ import (
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gorm.io/gorm" "gorm.io/gorm"
"io/ioutil" "io/ioutil"
"os"
"strconv" "strconv"
"time" "time"
) )
@ -250,7 +249,7 @@ func getCombineImage(ctx context.Context, svcCtx *svc.ServiceContext, parseInfo
} }
var pythonApiInfo pythonApiRsp var pythonApiInfo pythonApiRsp
if err = json.Unmarshal(bytes, &pythonApiInfo); err != nil { if err = json.Unmarshal(bytes, &pythonApiInfo); err != nil {
logx.Error("failed to parse python api rsp:", err) logx.Error("请求python合图失败,err:", err, " 请求数据:", string(postData))
return "", err return "", err
} }
//上传刀版图 //上传刀版图