- set upc in SkuCreate.

This commit is contained in:
gazebo
2018-10-26 20:03:19 +08:00
parent 3613375647
commit 56bea8ce11
3 changed files with 15 additions and 7 deletions

View File

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