From 6191973f130cfe11797b7283ebd5493f8a4d779c Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 20 Jul 2022 18:21:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A5=E5=BF=97=E6=A3=80?= =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/job.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index 91dbd4100..19af3f7f5 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -155,10 +155,7 @@ func PublishJob(ctx *jxcontext.Context, jobExt *model.JobExt) (jobID int, errCod } } if job.Address != "" && (job.Lng == 0 || job.Lat == 0) { - globals.SugarLogger.Debugf("==================" + job.Address) lng, lat, _ := api.AutonaviAPI.GetCoordinateFromAddressByPage(job.Address, job.JobCityCode) - globals.SugarLogger.Debugf("%f", lng) - globals.SugarLogger.Debugf("%f", lat) if lng == 0 || lat == 0 { return 0, errCode, fmt.Errorf("请填写完整且正确的门店地址!") }