- the information format of store map and courier map in GetStores changed to list

- nameIDs and skuIDs form GetSkuNames.
This commit is contained in:
gazebo
2018-10-22 15:15:11 +08:00
parent b51ceb3d1d
commit 393d3fbf45
4 changed files with 74 additions and 17 deletions

View File

@@ -127,7 +127,7 @@ type Store struct {
Lng int `json:"-"` // 乘了10的6次方
Lat int `json:"-"` // 乘了10的6次方
DeliveryRangeType int8 `json:"deliveryRangeType"` // 参见相关常量定义
DeliveryRange string `orm:"size(2048)" json:"deliveryRange"` // 如果DeliveryRangeType为DeliveryRangeTypePolygon则为逗号分隔坐标分号分隔的坐标点坐标与Lng和Lat一样都是整数比如 121361504,31189308;121420555,31150238。否则为半径单位为米
DeliveryRange string `orm:"type(text)" json:"deliveryRange"` // 如果DeliveryRangeType为DeliveryRangeTypePolygon则为逗号分隔坐标分号分隔的坐标点坐标与Lng和Lat一样都是整数比如 121361504,31189308;121420555,31150238。否则为半径单位为米
Status int `json:"status"`
DeliveryType int8 `orm:"-" json:"-"`