Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
921098650e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user