This commit is contained in:
suyl
2021-08-30 16:06:01 +08:00
parent 83b157d1fb
commit e895a25b98
12 changed files with 203 additions and 16 deletions

View File

@@ -81,7 +81,7 @@ func TestShopUpdate(t *testing.T) {
params := map[string]interface{}{
//KeyName: "好菜鲜生(龙宫市场店)",
//KeyPhone: "13812345678",
KeyBaiduShopID: "32267358118",
KeyBaiduShopID: "2097134681",
//"longitude": 116.307884,
//"latitude": 40.036828,
//"coord_type": "amap",
@@ -89,7 +89,10 @@ func TestShopUpdate(t *testing.T) {
//"city": "131",
//"county": "1960",
//"address": "北京市海淀区上地信息路甲9号",
"shop_logo": "http://image.jxc4.com/image/e078b225d7b232b4497a689dbf65159e.jpg",
"takeout_shop_logo": "https://image-star.elemecdn.com/pb/b79d499b9b0be5deb3ee3ce71bf29ad0a8",
"baidu_takeout_logo": "https://image-star.elemecdn.com/pb/b79d499b9b0be5deb3ee3ce71bf29ad0a8",
"ele_takeout_logo": "https://image-star.elemecdn.com/pb/b79d499b9b0be5deb3ee3ce71bf29ad0a8",
//"baidu_takeout_logo" //takeoutShopLogo//baiduTakeoutLogo
}
err := api.ShopUpdate(params)
if err != nil {