- 高德API的KEY改为公司认证的KEY,可访问量更大

- 拉取门店信息时要获取坐标及区信息
- 饿百订单买家的坐标转换为高德坐标
This commit is contained in:
gazebo
2019-09-11 10:14:40 +08:00
parent b72043257c
commit f1fbcf6366
6 changed files with 18 additions and 14 deletions

View File

@@ -387,6 +387,7 @@ func genStoreMapFromStore(store *tEbaiStoreInfo) map[string]interface{} {
params["address"] = store.Address
// todo 饿百 开店审核通过后不允许修改商户信息
if store.SyncStatus&(model.SyncFlagNewMask /*|model.SyncFlagStoreAddress*/) != 0 {
// todo 这里应该要做坐标转换吧
params["longitude"] = jxutils.IntCoordinate2Standard(store.Lng)
params["latitude"] = jxutils.IntCoordinate2Standard(store.Lat)
params["coord_type"] = ebaiapi.CoordTypeAutonavi