- change success code from 1 to 0 in GetStationsByVenderId
This commit is contained in:
@@ -38,7 +38,7 @@ type CreateShopResult struct {
|
||||
// 获取门店编码列表接口
|
||||
// https://opendj.jd.com/staticnew/widgets/resources.html?groupid=194&apiid=138426aa19b54c48ae8464af1ca3b681
|
||||
func (a *API) GetStationsByVenderId() ([]string, error) {
|
||||
result, err := a.AccessAPINoPage("store/getStationsByVenderId", nil, nil, nil, genNoPageResultParser("code", "msg", "result", "1"))
|
||||
result, err := a.AccessAPINoPage("store/getStationsByVenderId", nil, nil, nil, genNoPageResultParser("code", "msg", "result", "0"))
|
||||
if err == nil {
|
||||
result2 := result.([]interface{})
|
||||
retVal := make([]string, len(result2))
|
||||
|
||||
Reference in New Issue
Block a user