Browse Source

update

three
DengBiao 1 year ago
parent
commit
4ba46d60c2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      consume/canal_guide_order_consume.go

+ 4
- 0
consume/canal_guide_order_consume.go View File

@@ -139,6 +139,10 @@ func getUserAddress(Db *xorm.Engine, uid string, geoIp2db *geoip2.DBReader) (pro
return return
} }
if regionalAgentUserBelong == nil { if regionalAgentUserBelong == nil {
provinceName = "广东省"
provinceId = "440000000000"
return

//TODO::没开区域代理的,使用用户ip归属地 //TODO::没开区域代理的,使用用户ip归属地
userLoginIpList, err := db.UserLoginIpListGetOneByParams(Db, map[string]interface{}{ userLoginIpList, err := db.UserLoginIpListGetOneByParams(Db, map[string]interface{}{
"key": "uid", "key": "uid",


Loading…
Cancel
Save