|
|
@@ -34,9 +34,9 @@ class GoodsStyleClass extends BaseClass
|
|
|
return $new;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ /*
|
|
|
更新商品的款式 shish 2020.2.27
|
|
|
- 输入的数据格式 $goodsStyleList = [
|
|
|
+ 输入的数据格式 [
|
|
|
['styleName' => '红色1', 'price' => 0.1, 'picture' => '', 'action' => 'add', 'id' => 0],
|
|
|
['styleName' => '蓝色', 'price' => 0.1, 'picture' => '', 'action' => 'update', 'id' => 1],
|
|
|
['styleName' => '黑色2', 'price' => 0.1, 'picture' => '', 'action' => 'delete', 'id' => 2]
|