|
@@ -52,6 +52,15 @@ class Goods extends Controller
|
|
|
}
|
|
|
/**
|
|
|
* @Title ("添加商品")
|
|
|
+ * @Param ("name",desc="商品名称")
|
|
|
+ * @Param ("cateids",desc="商品分类")
|
|
|
+ * @Param ("cover",desc="商品封面图")
|
|
|
+ * @Param ("slider",desc="商品轮播图")
|
|
|
+ * @Param ("content",desc="商品详情")
|
|
|
+ * @Param ("stock_total",desc="商品库存")
|
|
|
+ * @Param ("price_selling",desc="商品销售价")
|
|
|
+ * @Param ("price_market",desc="商品市场价")
|
|
|
+ * @Param ("items",desc="商品规格信息")
|
|
|
*/
|
|
|
public function goods_add(){
|
|
|
$data = $this->_vali(
|