1
This commit is contained in:
@@ -80,20 +80,12 @@ func TestShopAptitudeGet(t *testing.T) {
|
||||
|
||||
func TestShopUpdate(t *testing.T) {
|
||||
params := map[string]interface{}{
|
||||
//KeyName: "好菜鲜生(龙宫市场店)",
|
||||
//KeyPhone: "13812345678",
|
||||
KeyBaiduShopID: "2097134681",
|
||||
//"longitude": 116.307884,
|
||||
//"latitude": 40.036828,
|
||||
//"coord_type": "amap",
|
||||
//"province": "131",
|
||||
//"city": "131",
|
||||
//"county": "1960",
|
||||
//"address": "北京市海淀区上地信息路甲9号",
|
||||
//"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
|
||||
"address": "四川省成都市双流区东升街道藏卫路中段21号D区23号",
|
||||
"baidu_shop_id": "511574437",
|
||||
"business_time": []map[string]string{{"end": "19:30", "start": "07:30"}},
|
||||
"ivr_phone": "17366937206",
|
||||
"package_box_price": 100,
|
||||
"service_phone": "13310841099",
|
||||
}
|
||||
err := api.ShopUpdate(params)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user