Browse Source

修复筛选规格和商品规格冲突问题

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
b17ac776bf
  1. 2
      vendor/antgoods/goods/src/assets/custom/sku.49a56a9198d9c3ec233c.js
  2. 58
      vendor/antgoods/goods/src/assets/custom/sku.52802ed907a316501cd7.js
  3. 50
      vendor/antgoods/goods/src/assets/custom/sku.99cb07c4f1a205e0a84a.js
  4. 2
      vendor/antgoods/goods/src/assets/custom/sku.9a46222d01b3d601e5ad.js
  5. 2
      vendor/antgoods/goods/src/logic/goods/GoodsManager.php
  6. 3
      vendor/antgoods/goods/src/web/GoodsAttributeAsset.php
  7. 2
      vendor/antgoods/goods/src/web/GoodsFilterAttributeAsset.php

vendor/antgoods/goods/src/assets/custom/sku.49a56a9198d9c3ec233c.js
File diff suppressed because it is too large
View File

58
vendor/antgoods/goods/src/assets/custom/sku.52802ed907a316501cd7.js
File diff suppressed because it is too large
View File

50
vendor/antgoods/goods/src/assets/custom/sku.99cb07c4f1a205e0a84a.js
File diff suppressed because it is too large
View File

vendor/antgoods/goods/src/assets/custom/sku.9a46222d01b3d601e5ad.js
File diff suppressed because it is too large
View File

2
vendor/antgoods/goods/src/logic/goods/GoodsManager.php

@ -67,7 +67,7 @@ class GoodsManager
public static function updateGoods($data, $model, $coverImageOldIdStr = null, $detailImageOldIdStr = null) public static function updateGoods($data, $model, $coverImageOldIdStr = null, $detailImageOldIdStr = null)
{ {
$attribute = $data['attribute']; $attribute = $data['attribute'];
$filterAttribute = $data['filter_attribute'];
$filterAttribute = $data['filterattribute'];
$tra = Yii::$app->db->beginTransaction(); $tra = Yii::$app->db->beginTransaction();
try { try {
if (!$model->save()) { if (!$model->save()) {

3
vendor/antgoods/goods/src/web/GoodsAttributeAsset.php

@ -13,7 +13,8 @@ class GoodsAttributeAsset extends AssetBundle
public $css = [ public $css = [
]; ];
public $js = [ public $js = [
'custom/sku.dd9a085c7b4ca26936f9.js'
// 'custom/sku.49a56a9198d9c3ec233c.js'
'custom/sku.52802ed907a316501cd7.js'
]; ];
public $depends = [ public $depends = [
'yii\web\YiiAsset', 'yii\web\YiiAsset',

2
vendor/antgoods/goods/src/web/GoodsFilterAttributeAsset.php

@ -13,7 +13,7 @@ class GoodsFilterAttributeAsset extends AssetBundle
public $css = [ public $css = [
]; ];
public $js = [ public $js = [
'custom/sku.8d54a9feac4b1fce0c54.js'
'custom/sku.9a46222d01b3d601e5ad.js'
]; ];
public $depends = [ public $depends = [
'yii\web\YiiAsset', 'yii\web\YiiAsset',

Loading…
Cancel
Save