- jxutils.IsLegalStoreID

This commit is contained in:
gazebo
2018-11-16 11:25:14 +08:00
parent 42f4c01c1e
commit 28b6689c56
3 changed files with 13 additions and 2 deletions

View File

@@ -192,3 +192,7 @@ func Int2OneZero(value int) int {
func IsMobileFake(mobile string) bool {
return utils.Str2Int64WithDefault(strings.Replace(strings.Replace(mobile, "-", "", -1), ",", "", -1), 0) == 0
}
func IsLegalStoreID(id int) bool {
return id >= 100000 && id < 200000
}