+ jdapi.CarrierNoCrowdSourcing, CarrierNoSelfDelivery

This commit is contained in:
gazebo
2019-07-29 17:16:42 +08:00
parent eb906260d8
commit 00cb0a7b33

View File

@@ -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 {