|
@@ -85,14 +85,14 @@ class Sku
|
|
|
$where['info_id'] = $config['goods_id'];
|
|
|
$key = 'key';
|
|
|
$table = 'goods/info';
|
|
|
+
|
|
|
+ $w['option_info_id'] = $config['goods_id'];
|
|
|
+ $w['set_state'] = 2;
|
|
|
+ Dever::db('goods/info_sku')->updates($w);
|
|
|
}
|
|
|
|
|
|
$sku_table = $table . '_sku';
|
|
|
|
|
|
- $w['option_info_id'] = $config['goods_id'];
|
|
|
- $w['set_state'] = 2;
|
|
|
- Dever::db('goods/info_sku')->updates($w);
|
|
|
-
|
|
|
if ($config['key'] == -1) {
|
|
|
|
|
|
if ($config['other']) {
|