From 2234e8fa97e85e1e69a6f970416602f283e09df6 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期日, 07 四月 2024 21:57:28 +0800 Subject: [PATCH] 解决联调问题,增加纤度检验相关接口 --- service/silk_rank.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/service/silk_rank.go b/service/silk_rank.go index a694467..ea8c57e 100644 --- a/service/silk_rank.go +++ b/service/silk_rank.go @@ -101,6 +101,9 @@ //绛夌骇鎺掑悕 for lineId, standard := range standardMap { for k, pair := range standard.ValueList { + if standardMap[lineId].GradeRank == nil { + standardMap[lineId].GradeRank = make(map[string]int, 0) + } if standard.SortType == SortTypeAsc { standardMap[lineId].GradeRank[pair.RankName] = k + 1 } else { -- Gitblit v1.8.0