更新
This commit is contained in:
parent
07504a4b47
commit
97b84e737c
@ -2586,6 +2586,9 @@ class ProductRepository extends BaseRepository
|
|||||||
}
|
}
|
||||||
if ($data['product_id'] && $data['type']) {
|
if ($data['product_id'] && $data['type']) {
|
||||||
switch ($data['type']) {
|
switch ($data['type']) {
|
||||||
|
case 'five':
|
||||||
|
$data['five'] = 5;
|
||||||
|
break;
|
||||||
case 'two':
|
case 'two':
|
||||||
$data['type'] = 6;
|
$data['type'] = 6;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user