feat: 授权请求头和查询参数支持accessToken接收

This commit is contained in:
TsMask
2024-03-18 11:11:24 +08:00
parent 6e5cce7c89
commit 43600001ee
4 changed files with 20 additions and 3 deletions

View File

@@ -19,3 +19,6 @@ const JWT_KEY = "user_id"
// 令牌-JWT标识用户登录账号字段
const JWT_NAME = "user_name"
// NMS北向使用-数据响应字段和请求头授权
const ACCESS_TOKEN = "accessToken"