1
This commit is contained in:
@@ -81,7 +81,7 @@ func (s *DefScheduler) SelfDeliveringAndUpdateStatus(ctx *jxcontext.Context, ven
|
||||
// 上面是真的转自送,支持美团,饿百,京东,如果时抖店,抖店暂时全部是自送的!但是有骑手信息时,就是一个白嫖单子!
|
||||
if order.VendorID == model.VendorIDDD && courierName != "" && courierMobile != "" {
|
||||
timeNow := time.Now()
|
||||
rand.Seed(timeNow.Unix())
|
||||
rand.Seed(timeNow.UnixNano())
|
||||
randNumber := rand.Int63n(481)
|
||||
if randNumber < 60 {
|
||||
randNumber += 60
|
||||
|
||||
Reference in New Issue
Block a user