- update jd store phone and mobile.

This commit is contained in:
gazebo
2018-09-25 18:26:48 +08:00
parent a8974ff4a6
commit 95d91e63dc
3 changed files with 150 additions and 11 deletions

View File

@@ -113,6 +113,8 @@ func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin
"lat": jxutils.IntCoordinate2Standard(store.Lat),
"city": store.JdCityCode,
"county": store.JdDistrictCode,
"phone": store.Tel1,
"mobile": store.Tel2,
}
if store.DeliveryRangeType == model.DeliveryRangeTypePolygon {
params["coordinatePoints"] = store.DeliveryRange