Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop

This commit is contained in:
laodaming 2023-09-12 18:09:44 +08:00
commit 921098650e

View File

@ -124,7 +124,7 @@ func RequestParse(w http.ResponseWriter, r *http.Request, svcCtx any, LogicReque
userinfo, err := ParseJwtToken(r, svcCtx) userinfo, err := ParseJwtToken(r, svcCtx)
if err != nil { if err != nil {
httpx.OkJsonCtx(r.Context(), w, &Response{ httpx.OkJsonCtx(r.Context(), w, &Response{
Code: 510, Code: 401,
Message: err.Error(), Message: err.Error(),
}) })
return nil, err return nil, err