Compare commits

..

No commits in common. "ac8b347cc25c75bf8cd605038b8c51a27d671dbe" and "b5cd667088e7be5cf0efff938bc7b520e9eca3b8" have entirely different histories.

1 changed files with 2 additions and 3 deletions

View File

@ -226,8 +226,8 @@ func ReadConfigToSetSystem() {
} }
} }
is_exist := false var is_exist bool
user_sync_id := -1 //用户同步任务索引 user_sync_id := -1
for i, v := range cron_infos { for i, v := range cron_infos {
if v.Type == 2 { if v.Type == 2 {
is_exist = true is_exist = true
@ -236,7 +236,6 @@ func ReadConfigToSetSystem() {
v.Curr = proto.Config.USER_SYNC_TIME v.Curr = proto.Config.USER_SYNC_TIME
} }
user_sync_id = i user_sync_id = i
cron_infos[i] = v
break break
} }
} }