feat:新增订单发票,下单地址调整
This commit is contained in:
@@ -43,10 +43,10 @@ func (l *LogoCombineLogic) LogoCombine(req *types.LogoCombineReq, userinfo *auth
|
||||
// 返回值必须调用Set重新返回, resp可以空指针调用 resp.SetStatus(basic.CodeOK, data)
|
||||
// userinfo 传入值时, 一定不为null
|
||||
|
||||
if userinfo.IsOnlooker() {
|
||||
// 如果是,返回未授权的错误码
|
||||
return resp.SetStatus(basic.CodeUnAuth)
|
||||
}
|
||||
// if userinfo.IsOnlooker() {
|
||||
// // 如果是,返回未授权的错误码
|
||||
// return resp.SetStatus(basic.CodeUnAuth)
|
||||
// }
|
||||
|
||||
if req.TemplateId == 0 || req.TemplateTag == "" {
|
||||
return resp.SetStatus(basic.CodeLogoCombineNoFoundErr, "模版或标签不存在")
|
||||
|
||||
Reference in New Issue
Block a user