新增饿百设置门店公告接口
This commit is contained in:
@@ -52,9 +52,9 @@ func TestShopAptitudeGet(t *testing.T) {
|
||||
|
||||
func TestShopUpdate(t *testing.T) {
|
||||
params := map[string]interface{}{
|
||||
KeyName: "好菜鲜生-测试店1",
|
||||
KeyName: "好菜鲜生-测试店",
|
||||
KeyPhone: "13812345678",
|
||||
KeyBaiduShopID: 2233976901,
|
||||
KeyBaiduShopID: testShopBaiduID,
|
||||
"longitude": 116.307884,
|
||||
"latitude": 40.036828,
|
||||
"coord_type": "amap",
|
||||
@@ -129,3 +129,10 @@ func TestShopOffline(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestShopAnnouncementSet(t *testing.T) {
|
||||
err := api.ShopAnnouncementSet("", testShopBaiduID, "测试公告123")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user