- 将IsMobileFake用IsStringLikeMobile替换
- 添加HandleOrder4Consignee, GetRealMobile4Order和GetAuthType4Vendor - 添加GoodsOrder.VendorUserID
This commit is contained in:
@@ -370,11 +370,6 @@ func Int2OneZero(value int) int {
|
||||
return 0
|
||||
}
|
||||
|
||||
// 判断电话号码是否是假的,比如有****号
|
||||
func IsMobileFake(mobile string) bool {
|
||||
return len(mobile) >= 13 || mobile == ""
|
||||
}
|
||||
|
||||
func FormalizeMobile(mobile string) string {
|
||||
mobile = TrimDecorationChar(mobile)
|
||||
return strings.Replace(strings.Replace(mobile, "-", ",", -1), "_", ",", -1)
|
||||
|
||||
Reference in New Issue
Block a user