From 1c8b60f4d29c8ffc35c62b28e9afb05e1b349aec Mon Sep 17 00:00:00 2001 From: Yangtao Date: Wed, 19 Nov 2025 14:27:07 +0800 Subject: [PATCH] feat(app): update --- pkg/dto/request/GetSkillLevelListRequest.go | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkg/dto/request/GetSkillLevelListRequest.go b/pkg/dto/request/GetSkillLevelListRequest.go index c5598e4..ede6239 100644 --- a/pkg/dto/request/GetSkillLevelListRequest.go +++ b/pkg/dto/request/GetSkillLevelListRequest.go @@ -2,8 +2,6 @@ package request import ( "errors" - - "gitea.ddegame.cn/open/servicebase/pkg/common/order" ) type GetSkillLevelListRequest struct { @@ -46,12 +44,12 @@ func (request *GetOrderRankReq) CheckParameter() (err error) { return } if len(request.GroupByFields) != 0 { - for _, field := range request.GroupByFields { - _, ok := order.WhitelistFields[field] - if !ok { - err = errors.New("包含不支持的字段") - return - } + for _, _ = range request.GroupByFields { + // _, ok := order.WhitelistFields[field] + // if !ok { + // err = errors.New("包含不支持的字段") + // return + // } } } return