阶段性提交

This commit is contained in:
GoEdgeLab
2020-09-06 16:19:54 +08:00
parent f8049b3739
commit 84868c1a0b
37 changed files with 3134 additions and 91 deletions

View File

@@ -42,6 +42,7 @@ func ValidateRequest(ctx context.Context, userTypes ...UserType) (userType UserT
nodeId := nodeIds[0]
// 获取角色Node信息
// TODO 缓存节点ID相关信息
apiToken, err := models.SharedApiTokenDAO.FindEnabledTokenWithNode(nodeId)
if err != nil {
utils.PrintError(err)