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