|
|
@@ -139,6 +139,10 @@ func getUserAddress(Db *xorm.Engine, uid string, geoIp2db *geoip2.DBReader) (pro |
|
|
|
return |
|
|
|
} |
|
|
|
if regionalAgentUserBelong == nil { |
|
|
|
provinceName = "广东省" |
|
|
|
provinceId = "440000000000" |
|
|
|
return |
|
|
|
|
|
|
|
//TODO::没开区域代理的,使用用户ip归属地 |
|
|
|
userLoginIpList, err := db.UserLoginIpListGetOneByParams(Db, map[string]interface{}{ |
|
|
|
"key": "uid", |
|
|
|