This commit is contained in:
laodaming 2023-08-28 12:15:03 +08:00
parent 30abb2bb06
commit d53a971fd6

View File

@ -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