- GetServerInfo added.
This commit is contained in:
@@ -17,6 +17,35 @@ const (
|
||||
DeliveryRangeTypeRadius = 3
|
||||
)
|
||||
|
||||
const (
|
||||
StoreDeliveryTypeCrowdSourcing = 0 //缺省,平台众包配送,可转自送
|
||||
StoreDeliveryTypeByPlatform = 1 //平台专送
|
||||
StoreDeliveryTypeByStore = 2 //完全门店自送
|
||||
)
|
||||
|
||||
var (
|
||||
StoreStatusName map[int]string
|
||||
DeliveryRangeTypeName map[int]string
|
||||
DeliveryTypeName map[int]string
|
||||
)
|
||||
|
||||
func init() {
|
||||
StoreStatusName = map[int]string{
|
||||
StoreStatusDisabled: "禁用",
|
||||
StoreStatusClosed: "休息",
|
||||
StoreStatusOpened: "营业中",
|
||||
}
|
||||
DeliveryRangeTypeName = map[int]string{
|
||||
DeliveryRangeTypePolygon: "多边形",
|
||||
DeliveryRangeTypeRadius: "圆",
|
||||
}
|
||||
DeliveryTypeName = map[int]string{
|
||||
StoreDeliveryTypeCrowdSourcing: "平台众包配送",
|
||||
StoreDeliveryTypeByPlatform: "平台专送",
|
||||
StoreDeliveryTypeByStore: "门店自送",
|
||||
}
|
||||
}
|
||||
|
||||
type Store struct {
|
||||
ModelIDCUL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user