1
This commit is contained in:
@@ -42,8 +42,8 @@ func (c *DeliveryHandler) CreateStore(ctx *jxcontext.Context, storeDetail *dao.S
|
||||
createStore := &fnpsapi.CreateStoreBaseInfo{
|
||||
ContactPhone: storeDetail.Tel1,
|
||||
Address: storeDetail.Address,
|
||||
Longitude: utils.Int2Float64(storeDetail.Lng) / 1000000,
|
||||
Latitude: utils.Int2Float64(storeDetail.Lat) / 1000000,
|
||||
Longitude: jxutils.IntCoordinate2Standard(storeDetail.Lng),
|
||||
Latitude: jxutils.IntCoordinate2Standard(storeDetail.Lat),
|
||||
PositionSource: 3,
|
||||
OutShopCode: utils.Int2Str(storeDetail.ID),
|
||||
CategoryID: "51",
|
||||
@@ -119,8 +119,8 @@ func (c *DeliveryHandler) UpdateStore(ctx *jxcontext.Context, storeDetail *dao.S
|
||||
ChainStoreID: fnStore.ChainStoreID,
|
||||
ContactPhone: storeDetail.Tel1,
|
||||
Address: storeDetail.Address,
|
||||
Longitude: utils.Int2Float64(storeDetail.Lng) / 1000000,
|
||||
Latitude: utils.Int2Float64(storeDetail.Lat) / 1000000,
|
||||
Longitude: jxutils.IntCoordinate2Standard(storeDetail.Lng),
|
||||
Latitude: jxutils.IntCoordinate2Standard(storeDetail.Lat),
|
||||
PositionSource: 3,
|
||||
OutShopCode: utils.Int2Str(storeDetail.ID),
|
||||
CategoryID: "51",
|
||||
|
||||
Reference in New Issue
Block a user