feat: 合并Gin_Vue

This commit is contained in:
TsMask
2023-10-16 17:10:38 +08:00
parent 5289818fd4
commit 40a32cb67f
203 changed files with 19719 additions and 178 deletions

View File

@@ -0,0 +1,21 @@
package token
// 令牌常量信息
// 令牌-数据响应字段
const RESPONSE_FIELD = "access_token"
// 令牌-请求头标识前缀
const HEADER_PREFIX = "Bearer "
// 令牌-请求头标识
const HEADER_KEY = "Authorization"
// 令牌-JWT唯一标识字段
const JWT_UUID = "login_key"
// 令牌-JWT标识用户主键字段
const JWT_KEY = "user_id"
// 令牌-JWT标识用户登录账号字段
const JWT_NAME = "user_name"