|
@@ -24,6 +24,7 @@ func OrderResource() {
|
|
}
|
|
}
|
|
|
|
|
|
func OrderResourceRun(now time.Time, end int64) {
|
|
func OrderResourceRun(now time.Time, end int64) {
|
|
|
|
+ log.Println("OrderResourceRun 任务开始。。。")
|
|
grantDateStr := time.Now().Format("200601")
|
|
grantDateStr := time.Now().Format("200601")
|
|
grantDate := gconv.Int64(grantDateStr)
|
|
grantDate := gconv.Int64(grantDateStr)
|
|
pool := make(chan bool, Config.GivePool)
|
|
pool := make(chan bool, Config.GivePool)
|
|
@@ -152,4 +153,5 @@ func OrderResourceRun(now time.Time, end int64) {
|
|
m = make(map[string]interface{})
|
|
m = make(map[string]interface{})
|
|
}
|
|
}
|
|
wait.Wait()
|
|
wait.Wait()
|
|
|
|
+ log.Println("OrderResourceRun 任务结束。。。")
|
|
}
|
|
}
|