- GetOrderEvents
- idcard and licence for store
This commit is contained in:
@@ -24,13 +24,6 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
StoreStatusName map[int]string
|
||||
DeliveryRangeTypeName map[int]string
|
||||
DeliveryTypeName map[int]string
|
||||
BankName map[string]string
|
||||
)
|
||||
|
||||
func init() {
|
||||
StoreStatusName = map[int]string{
|
||||
StoreStatusDisabled: "禁用",
|
||||
StoreStatusClosed: "休息",
|
||||
@@ -109,7 +102,7 @@ func init() {
|
||||
"QLBANK": "齐鲁银行",
|
||||
"YDRCB": "尧都农村商业银行",
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
type Store struct {
|
||||
ModelIDCULD
|
||||
@@ -130,6 +123,11 @@ type Store struct {
|
||||
DeliveryRange string `orm:"type(text)" json:"deliveryRange"` // 如果DeliveryRangeType为DeliveryRangeTypePolygon,则为逗号分隔坐标,分号分隔的坐标点(坐标与Lng和Lat一样,都是整数),比如 121361504,31189308;121420555,31150238。否则为半径,单位为米
|
||||
Status int `json:"status"`
|
||||
|
||||
IDCardFront string `orm:"size(255);column(id_card_front)" json:"idCardFront"`
|
||||
IDCardBack string `orm:"size(255);column(id_card_back)" json:"idCardBack"`
|
||||
IDCardHand string `orm:"size(255);column(id_card_hand)" json:"idCardHand"`
|
||||
Licence string `orm:"size(255)" json:"licence"`
|
||||
|
||||
DeliveryType int8 `orm:"-" json:"-"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user