diff --git a/business/model/dao/dao_order.go b/business/model/dao/dao_order.go index 3bd880e18..e8efed825 100644 --- a/business/model/dao/dao_order.go +++ b/business/model/dao/dao_order.go @@ -1850,7 +1850,7 @@ func GetAddressRiderInfo(db *DaoDB, address string, randNumber int64) (*CourierI return nil, err } - if courier.CourierName == "" || courier.CourierMobile == "" { + if courier.CourierName == "" || courier.CourierMobile == "" || len(courier.CourierMobile) != 11 { info, err := GetAddressRiderInfo(db, address, randNumber+1) if err != nil { return nil, err