This commit is contained in:
eson 2023-09-12 18:08:37 +08:00
parent df73e8d5ce
commit 66f82a44ea

View File

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