This commit is contained in:
邹宗楠
2023-11-29 15:44:31 +08:00
parent 96d6cbc78c
commit 80940b6ce2
2 changed files with 3 additions and 2 deletions

View File

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

View File

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