fix: 还原权限校验

This commit is contained in:
fuzhongyun 2025-12-27 10:36:44 +08:00
parent 4cd72c5807
commit 4ca94214e3
1 changed files with 4 additions and 4 deletions

View File

@ -120,10 +120,10 @@ func (r *Handle) HandleMatch(ctx context.Context, client *gateway.Client, rec *e
} }
// 校验用户权限 // 校验用户权限
// if err = r.PermissionAuth(client, pointTask); err != nil { if err = r.PermissionAuth(client, pointTask); err != nil {
// log.Errorf("权限验证失败: %s", err.Error()) log.Errorf("权限验证失败: %s", err.Error())
// return return
// } }
switch constants.TaskType(pointTask.Type) { switch constants.TaskType(pointTask.Type) {
case constants.TaskTypeApi: case constants.TaskTypeApi: