zhangguidong %!s(int64=2) %!d(string=hai) anos
pai
achega
b106a11c24
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 0
      app/model/goods/Goods.php
  2. 0 1
      app/shop/controller/Goods.php

+ 1 - 0
app/model/goods/Goods.php

@@ -479,6 +479,7 @@ class Goods extends BaseModel
     }
     public function goods_sku($sku_data){
        $sku =  json_decode($sku_data, true);
+       print_r($sku);die;
        foreach ($sku as $item){
            if(empty($item['price'])||$item['price']<1) {
                return $this->error('请正确填写规格信息');

+ 0 - 1
app/shop/controller/Goods.php

@@ -141,7 +141,6 @@ class Goods extends BaseShop
 	 */
 	public function addGoods()
 	{
-        print_r(111);die;
 		if (request()->isAjax()) {
 			$goods_model = new GoodsModel();
 			if ($this->shop_info["shop_status"] == 0) {