- set upc in SkuCreate.
This commit is contained in:
@@ -43,9 +43,16 @@ func TestShopGet(t *testing.T) {
|
||||
|
||||
func TestShopUpdate(t *testing.T) {
|
||||
params := map[string]interface{}{
|
||||
KeyShopID: testShopID,
|
||||
KeyName: "hello",
|
||||
"phone": "13812345678",
|
||||
KeyName: "好菜鲜生-测试店1",
|
||||
KeyPhone: "13812345678",
|
||||
KeyBaiduShopID: 2233976901,
|
||||
"longitude": 116.307884,
|
||||
"latitude": 40.036828,
|
||||
"coord_type": "amap",
|
||||
"province": "131",
|
||||
"city": "131",
|
||||
"county": "1960",
|
||||
"address": "北京市海淀区上地信息路甲9号",
|
||||
}
|
||||
err := api.ShopUpdate(params)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user