This commit is contained in:
邹宗楠
2023-03-01 17:32:41 +08:00
parent 8b41cd0139
commit 75a9876f1d

View File

@@ -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