添加节点分布式

This commit is contained in:
eson
2023-07-25 19:32:51 +08:00
parent a248c6cbeb
commit 7200531c27
27 changed files with 633 additions and 58 deletions

View File

@@ -52,6 +52,8 @@ func RequestParse(w http.ResponseWriter, r *http.Request, svcCtx IJWTParse, Logi
// 解析JWT token,并对空用户进行判断
claims, err := svcCtx.ParseJwtToken(r)
// auth.ParseJwtTokenUint64Secret()
// 如果解析JWT token出错,则返回未授权的JSON响应并记录错误消息
if err != nil {
httpx.OkJsonCtx(r.Context(), w, &Response{