1
This commit is contained in:
@@ -104,6 +104,12 @@ const (
|
|||||||
MunicipalityShangHai = "上海市"
|
MunicipalityShangHai = "上海市"
|
||||||
MunicipalityTianJin = "天津市"
|
MunicipalityTianJin = "天津市"
|
||||||
MunicipalityChongQing = "重庆市"
|
MunicipalityChongQing = "重庆市"
|
||||||
|
//直辖市城市代码
|
||||||
|
|
||||||
|
MunicipalityBeiJinCode = 110000
|
||||||
|
MunicipalityShangHaiCode = 310000
|
||||||
|
MunicipalityTianJinCode = 120000
|
||||||
|
MunicipalityChongQingCode = 500000
|
||||||
//快递方式
|
//快递方式
|
||||||
TransferTypeExpress = 1 //目前仅支持快递
|
TransferTypeExpress = 1 //目前仅支持快递
|
||||||
|
|
||||||
@@ -114,6 +120,13 @@ const (
|
|||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var MunicipalityCode = map[string]int{
|
||||||
|
MunicipalityBeiJin: MunicipalityBeiJinCode,
|
||||||
|
MunicipalityShangHai: MunicipalityShangHaiCode,
|
||||||
|
MunicipalityTianJin: MunicipalityTianJinCode,
|
||||||
|
MunicipalityChongQing: MunicipalityChongQingCode,
|
||||||
|
}
|
||||||
|
|
||||||
//门店信息
|
//门店信息
|
||||||
type Store struct {
|
type Store struct {
|
||||||
StoreID int `json:"id"`
|
StoreID int `json:"id"`
|
||||||
|
|||||||
Reference in New Issue
Block a user