Browse Source

解决Bug

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/3373/head
zouap 2 years ago
parent
commit
80cc401681
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      models/user_business_analysis.go

+ 0
- 1
models/user_business_analysis.go View File

@@ -2111,7 +2111,6 @@ func queryUserCreateRepo(start_unix int64, end_unix int64) (map[int64]int, map[s
detailInfoMap[key] = getMapKeyStringValue(key, detailInfoMap) + int(repoRecord.CloneCnt)

key = fmt.Sprint(repoRecord.OwnerID) + "_most_download"
log.Info("git clone count =" + fmt.Sprint(repoRecord.CloneCnt) + " key=" + key)
if int(repoRecord.CloneCnt) > getMapKeyStringValue(key, detailInfoMap) {
detailInfoMap[key] = int(repoRecord.CloneCnt)
mostDownloadMap[repoRecord.OwnerID] = repoRecord.DisplayName()


Loading…
Cancel
Save