fix:合图,参数调整
This commit is contained in:
@@ -49,6 +49,10 @@ func (l *LogoCombineLogic) LogoCombine(req *types.LogoCombineReq, userinfo *auth
|
||||
return resp.SetStatus(basic.CodeUnAuth)
|
||||
}
|
||||
|
||||
if req.TemplateId == 0 || req.TemplateTag == "" {
|
||||
return resp.SetStatus(basic.CodeLogoCombineNoFoundErr, "模版或标签不存在")
|
||||
}
|
||||
|
||||
var userId int64
|
||||
var guestId int64
|
||||
|
||||
@@ -106,7 +110,7 @@ func (l *LogoCombineLogic) LogoCombine(req *types.LogoCombineReq, userinfo *auth
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
return resp.SetStatus(basic.CodeServiceErr, fmt.Sprintf("算法请求--LOGO信息--错误:%+v", err))
|
||||
return resp.SetStatus(basic.CodeLogoCombineErr, fmt.Sprintf("算法请求--LOGO信息--错误:%+v", err))
|
||||
}
|
||||
|
||||
// 返回成功的响应和上传URL
|
||||
|
||||
Reference in New Issue
Block a user