- keyword doesn't search store address but want search owner's mobile.

This commit is contained in:
gazebo
2018-10-30 16:40:55 +08:00
parent 8313a52d49
commit 1bdb67864d
3 changed files with 15 additions and 3 deletions

View File

@@ -343,3 +343,7 @@ func MakeValidationMapFromSlice(validValues []string, flag int) map[string]int {
func ComposeQiniuResURL(key string) string {
return "http://image.jxc4.com/" + key
}
func IsLegalMobileNumber(num int64) bool {
return num >= 13000000000 && num <= 19999999999
}