From 4ba46d60c2c5fe0aba991a56abbcf443907f9bcc Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 27 Mar 2023 19:23:00 +0800 Subject: [PATCH] update --- consume/canal_guide_order_consume.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/consume/canal_guide_order_consume.go b/consume/canal_guide_order_consume.go index bf501a8..2d0c6a7 100644 --- a/consume/canal_guide_order_consume.go +++ b/consume/canal_guide_order_consume.go @@ -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",