Răsfoiți Sursa

错误输出

shish 6 ani în urmă
părinte
comite
ff2ab01073
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      biz/goods/classes/GoodsClass.php

+ 2 - 1
biz/goods/classes/GoodsClass.php

@@ -7,6 +7,7 @@ use biz\goods\services\GoodsStyleService;
 use biz\merchant\services\MerchantService;
 use biz\merchant\services\MerchantService;
 use common\components\business;
 use common\components\business;
 use common\components\stringUtil;
 use common\components\stringUtil;
+use common\components\util;
 use Yii;
 use Yii;
 use biz\base\classes\BaseClass;
 use biz\base\classes\BaseClass;
 
 
@@ -71,7 +72,7 @@ class GoodsClass extends BaseClass
 		$data['shopImg'] = json_encode($data['shopImg']);
 		$data['shopImg'] = json_encode($data['shopImg']);
 		$goodsInfo = self::add($data);
 		$goodsInfo = self::add($data);
 		$id = $goodsInfo['id'];
 		$id = $goodsInfo['id'];
-		
+
 		//处理分类
 		//处理分类
 		$hasCategoryIdList = CategoryClass::getCategoryIdList($merchantId);
 		$hasCategoryIdList = CategoryClass::getCategoryIdList($merchantId);
 		$diff = array_diff($categoryIdList, $hasCategoryIdList);
 		$diff = array_diff($categoryIdList, $hasCategoryIdList);