- fixed bug in ReadStore where not set lng and lat correctly.
This commit is contained in:
@@ -229,7 +229,9 @@ func GetVendorStore(ctx *jxcontext.Context, vendorStoreID string, vendorID int)
|
||||
result, err2 := handler.ReadStore(vendorStoreID)
|
||||
if err = err2; err == nil {
|
||||
retVal = &StoreExt{
|
||||
Store: *result,
|
||||
Store: *result,
|
||||
FloatLng: jxutils.IntCoordinate2Standard(result.Lng),
|
||||
FloatLat: jxutils.IntCoordinate2Standard(result.Lat),
|
||||
}
|
||||
db := dao.GetDB()
|
||||
if city, err2 := dao.GetPlaceByCode(db, result.CityCode); err2 == nil {
|
||||
|
||||
Reference in New Issue
Block a user