11
This commit is contained in:
parent
d53a971fd6
commit
85fcbec0c2
|
@ -50,7 +50,7 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
|
||||||
// userinfo 传入值时, 一定不为null
|
// userinfo 传入值时, 一定不为null
|
||||||
if userinfo.IsOnlooker() {
|
if userinfo.IsOnlooker() {
|
||||||
// 如果是,返回未授权的错误码
|
// 如果是,返回未授权的错误码
|
||||||
return resp.SetStatus(basic.CodeUnAuth, "1111")
|
return resp.SetStatus(basic.CodeUnAuth)
|
||||||
}
|
}
|
||||||
|
|
||||||
var userId int64
|
var userId int64
|
||||||
|
|
Loading…
Reference in New Issue
Block a user