更新规格
This commit is contained in:
parent
1ecdff83fc
commit
0350c4d655
@ -2510,6 +2510,12 @@ class StoreOrderRepository extends BaseRepository
|
|||||||
$attr = [];
|
$attr = [];
|
||||||
$arr = [];
|
$arr = [];
|
||||||
|
|
||||||
|
if(!$attr_one){
|
||||||
|
$attr_one[] = '规格';
|
||||||
|
}
|
||||||
|
if(!$attr_two){
|
||||||
|
$attr_two[] = '默认';
|
||||||
|
}
|
||||||
foreach ($attr_one as $key => $value) {
|
foreach ($attr_one as $key => $value) {
|
||||||
$attr[$value] = $attr_two[$key];
|
$attr[$value] = $attr_two[$key];
|
||||||
$arr[] = [
|
$arr[] = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user