Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.9.2^2
zouap 3 years ago
parent
commit
49e24592f4
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      routers/repo/user_invitation.go

+ 3
- 1
routers/repo/user_invitation.go View File

@@ -325,7 +325,7 @@ func queryData(ctx *context.Context, startTime time.Time, endTime time.Time) {
log.Info("len(allUserIds)=" + fmt.Sprint(len(allUserIds)))
for i := 0; i < len(allUserIds); i += 100 {
if end >= len(allUserIds) {
end = len(allUserIds) - 1
end = len(allUserIds)
}
log.Info("i=" + fmt.Sprint(i) + " end=" + fmt.Sprint(end))
if i == end {
@@ -337,6 +337,8 @@ func queryData(ctx *context.Context, startTime time.Time, endTime time.Time) {
userMap[tmp.ID] = tmp
log.Info("userMap key=" + fmt.Sprint(tmp.ID))
}
} else {

}
end = end + 100
}


Loading…
Cancel
Save