From d53a971fd6d71ea48cfc96fb2d012657ae87432c Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 28 Aug 2023 12:15:03 +0800 Subject: [PATCH] 11 --- server/upload/internal/logic/uploadlogologic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/upload/internal/logic/uploadlogologic.go b/server/upload/internal/logic/uploadlogologic.go index ea2eefbb..9b8d4891 100644 --- a/server/upload/internal/logic/uploadlogologic.go +++ b/server/upload/internal/logic/uploadlogologic.go @@ -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