6
0
Fork 0

修复查看商品

release
李静 2021-12-10 16:49:05 +08:00
parent 027b869dab
commit d320c8399e
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class ProductSkuController extends Controller
foreach ($spec->items as $value) {
// 根据当前 SKU 的规格,组装可能出现的其它规格组合
$jSpecs = $original;
$jSpecs[$spec->id] = $value;
$jSpecs[$spec->id] = $value['name'];
$key = implode('_', $jSpecs);
$mapSku = $mapSkus->get($key);