更新规格

This commit is contained in:
mkm 2023-12-02 18:32:38 +08:00
parent 1ecdff83fc
commit 0350c4d655

View File

@ -2510,6 +2510,12 @@ class StoreOrderRepository extends BaseRepository
$attr = [];
$arr = [];
if(!$attr_one){
$attr_one[] = '规格';
}
if(!$attr_two){
$attr_two[] = '默认';
}
foreach ($attr_one as $key => $value) {
$attr[$value] = $attr_two[$key];
$arr[] = [