1
This commit is contained in:
@@ -239,6 +239,7 @@ func (a *API) ShopBusStatusGet(shopID string, baiduShopID int64, platformFlag st
|
||||
return 0, err
|
||||
}
|
||||
|
||||
// ShopStatusGet 获取门店审核状态
|
||||
func (a *API) ShopStatusGet(shopID string, baiduShopID int64) (status int, err error) {
|
||||
params := a.genShopIDParams(shopID, baiduShopID, 0)
|
||||
result, err := a.AccessAPI("shop.status.get", params)
|
||||
|
||||
@@ -104,7 +104,7 @@ func TestShopUpdate(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestShopBusStatusGet(t *testing.T) {
|
||||
result, err := api.ShopBusStatusGet("", 1119844487, PlatformFlagElm)
|
||||
result, err := api.ShopBusStatusGet("", 32267034105, PlatformFlagElm)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
} else {
|
||||
@@ -113,7 +113,7 @@ func TestShopBusStatusGet(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestShopStatusGet(t *testing.T) {
|
||||
result, err := api.ShopStatusGet("", 1119844487)
|
||||
result, err := api.ShopStatusGet("", 32267034105)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user