v1.2.0 修改jwt有效期和获取token接口

This commit is contained in:
2025-01-03 02:13:31 +08:00
parent ac656a4125
commit 984b07e2d5
11 changed files with 101 additions and 14 deletions

View File

@@ -52,6 +52,10 @@ service main {
@doc "get user info"
@handler detail
get /user/detail returns (UserInfoResp)
@doc "get new token"
@handler getToken
post /user/getToken returns (MobileCodeLoginResp)
}
//============================> auth v1 <============================