From 611299fadc7cc1157eb860c99cc480bdc649994a Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 13 Mar 2023 21:22:25 +0800 Subject: [PATCH] update --- consume/canal_guide_order_consume.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consume/canal_guide_order_consume.go b/consume/canal_guide_order_consume.go index 25e62d3..79c9f8e 100644 --- a/consume/canal_guide_order_consume.go +++ b/consume/canal_guide_order_consume.go @@ -147,6 +147,7 @@ func getUserAddress(Db *xorm.Engine, uid string, geoIp2db *geoip2.DBReader) (pro if err != nil { return } + utils.FilePutContents("getUserAddress", utils.SerializeStr(userLoginIpList)) record, _ := geoIp2db.City(net.ParseIP(userLoginIpList.NowIp)) if record.Country.Names != nil && record.Subdivisions != nil && record.City.Names != nil { province, err := db.ProvinceGetOneByName(record.Subdivisions[0].Names["zh-CN"])