浏览代码

更新款式

shish 6 年之前
父节点
当前提交
335fc8b822
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      biz/goods/classes/GoodsStyleClass.php

+ 2 - 2
biz/goods/classes/GoodsStyleClass.php

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