aa
This commit is contained in:
@@ -123,7 +123,7 @@ func PublishJob(ctx *jxcontext.Context, jobExt *model.JobExt) (errCode string, e
|
||||
}
|
||||
}
|
||||
if job.Address != "" && (job.Lng == 0 || job.Lat == 0) {
|
||||
lng, lat, err := api.AutonaviAPI.GetCoordinateFromAddressByPage(job.Address)
|
||||
lng, lat, err := api.AutonaviAPI.GetCoordinateFromAddress(job.Address, "")
|
||||
if err != nil {
|
||||
return errCode, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user