Commit 711ce6a3 by 杨树贤

修复bug

parent 39152d95
......@@ -498,6 +498,17 @@ class SkuService
$connection->table($table)->where('goods_id', $skuId)->update([
'goods_label' => $goodsLabel,
]);
$goodsTag = $redis->hget('goods_tag', $skuId);
if ($goodsTag) {
$goodsTag = json_decode($goodsTag, true);
$goodsTag['goods_label'] = $goodsLabel;
} else {
$goodsTag = [
'goods_label' => $goodsLabel,
];
}
$redis->hset('goods_tag', $skuId, json_encode($goodsTag));
}
} else {
......
......@@ -457,7 +457,7 @@
area: ['800px', '600px'],
title: '批量设置SKU标签',
end: function () {
// table.reload('skuList');
table.reload('skuList');
// supplierStatistics();
}
});
......@@ -474,7 +474,7 @@
area: ['800px', '600px'],
title: '批量设置SKU显示类型',
end: function () {
// table.reload('skuList');
table.reload('skuList');
// supplierStatistics();
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment