This commit is contained in:
邹宗楠
2023-04-19 18:39:08 +08:00
parent 604d95d1a1
commit d1c29b2eb0

View File

@@ -99,6 +99,7 @@ func AutoSettingFakeDelivery() {
if len(orderList) == model.NO {
return
}
globals.SugarLogger.Debugf("==================orderList=:%s", utils.Format4Output(orderList, false))
for _, v := range orderList {
//jxutils.CallMsgHandler(func() {
@@ -131,6 +132,7 @@ func AutoSettingFakeDelivery() {
return
}
}
globals.SugarLogger.Debugf("==================riderKey=:%s", riderKey)
randNumber, _ := rand.Int(rand.Reader, big.NewInt(int64(len(riderListInfo[riderKey]))))
randTime := randNumber.Int64()