From 03a32aa3d6907027a384f1d619b73df5d38d9222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Tue, 12 Jan 2021 10:55:25 +0800 Subject: [PATCH] aa --- business/jxstore/cms/job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index 0ed847f87..4a32cdb6e 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -153,7 +153,7 @@ func PublishJob(ctx *jxcontext.Context, jobExt *model.JobExt) (errCode string, e } } if job.Address != "" && (job.Lng == 0 || job.Lat == 0) { - lng, lat, _ := api.AutonaviAPI.GetCoordinateFromAddress(job.Address, "") + lng, lat, _ := api.AutonaviAPI.GetCoordinateFromAddressByPage(job.Address, job.JobCityCode) if lng == 0 || lat == 0 { return errCode, fmt.Errorf("请填写完整且正确的门店地址!") }