shish 6 anni fa
parent
commit
ff2ab01073
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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 common\components\business;
 use common\components\stringUtil;
+use common\components\util;
 use Yii;
 use biz\base\classes\BaseClass;
 
@@ -71,7 +72,7 @@ class GoodsClass extends BaseClass
 		$data['shopImg'] = json_encode($data['shopImg']);
 		$goodsInfo = self::add($data);
 		$id = $goodsInfo['id'];
-		
+
 		//处理分类
 		$hasCategoryIdList = CategoryClass::getCategoryIdList($merchantId);
 		$diff = array_diff($categoryIdList, $hasCategoryIdList);