修改数据类型

This commit is contained in:
邹宗楠
2022-03-30 14:51:49 +08:00
parent feb11e8185
commit 3347707c8f

View File

@@ -85,11 +85,11 @@ func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorSt
Name: shopInfo.Name, Name: shopInfo.Name,
Tel1: shopInfo.ContactPhone, Tel1: shopInfo.ContactPhone,
Address: shopInfo.Address, Address: shopInfo.Address,
Lng: jxutils.StandardCoordinate2Int(utils.Str2Float64(shopInfo.Longitude)), Lng: jxutils.StandardCoordinate2Int(shopInfo.Longitude),
Lat: jxutils.StandardCoordinate2Int(utils.Str2Float64(shopInfo.Latitude)), Lat: jxutils.StandardCoordinate2Int(shopInfo.Latitude),
}, },
VendorID: model.VendorIDFengNiao, VendorID: model.VendorIDFengNiao,
VendorStoreID: shopInfo.ChainStoreID, VendorStoreID: string(shopInfo.ChainStoreID),
CourierStatus: shopStatus2JX(shopInfo.Status), CourierStatus: shopStatus2JX(shopInfo.Status),
} }
} }