1
This commit is contained in:
@@ -198,6 +198,7 @@ func UpdateFakeWayBillToTiktok() {
|
||||
return
|
||||
}
|
||||
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
for i := 0; i < len(fakeWayBill); i++ {
|
||||
// 判断当前订单是否可以推送,UpdatedAt > 当前时间 就跳过
|
||||
if fakeWayBill[i].ModelTimeInfo.UpdatedAt.After(time.Now()) {
|
||||
@@ -265,7 +266,6 @@ func UpdateFakeWayBillToTiktok() {
|
||||
}
|
||||
}
|
||||
|
||||
rand.Seed(time.Now().Unix())
|
||||
randNumber := rand.Int63n(481)
|
||||
if randNumber < 60 {
|
||||
randNumber += 60
|
||||
|
||||
Reference in New Issue
Block a user