+ jdapi.CarrierNoCrowdSourcing, CarrierNoSelfDelivery
This commit is contained in:
@@ -44,6 +44,11 @@ type CityInfo struct {
|
||||
Yn int `json:"yn"`
|
||||
}
|
||||
|
||||
const (
|
||||
CarrierNoCrowdSourcing = 9966 // 众包
|
||||
CarrierNoSelfDelivery = 2938 // 自送
|
||||
)
|
||||
|
||||
func (a *API) GetAllCities() (cities []*CityInfo, err error) {
|
||||
result, err := a.AccessAPINoPage("address/allcities", nil, nil, nil, genNoPageResultParser("code", "msg", "result", "0"))
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user