- up.
This commit is contained in:
@@ -44,8 +44,8 @@ func TestShopGet(t *testing.T) {
|
||||
func TestShopUpdate(t *testing.T) {
|
||||
params := map[string]interface{}{
|
||||
KeyShopID: testShopID,
|
||||
// KeyName: "hello",
|
||||
"phone": "13812345678",
|
||||
KeyName: "hello",
|
||||
"phone": "13812345678",
|
||||
}
|
||||
err := api.ShopUpdate(params)
|
||||
if err != nil {
|
||||
@@ -65,7 +65,7 @@ func TestShopBusStatusGet(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestShopIDBatchUpdate(t *testing.T) {
|
||||
err := api.ShopIDBatchUpdate([]string{utils.Int2Str(testShopBaiduID)}, []string{""})
|
||||
err := api.ShopIDBatchUpdate([]string{utils.Int2Str(testShopBaiduID)}, []string{"100077"})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user