update
This commit is contained in:
parent
7ef385d853
commit
c7282f94ca
@ -51,7 +51,7 @@ class SupplierLogic extends BaseLogic
|
||||
'supplier_name' => $params['supplier_name'],
|
||||
'supplier_introduction' => $params['supplier_introduction'] ?? '',
|
||||
'brand_category' => $params['brand_category'] ?? '',
|
||||
'supplier_photos' => !empty($params['supplier_photos']) ? $params['supplier_photos'] : null,
|
||||
'supplier_photos' => !empty($params['supplier_photos']) ? json_encode($params['supplier_photos']) : null,
|
||||
'supplier_group' => $params['supplier_group'] ?? 0,
|
||||
'supplier_category' => $params['supplier_category'] ?? 0,
|
||||
'supplier_grade' => $params['supplier_grade'] ?? 0,
|
||||
@ -102,7 +102,7 @@ class SupplierLogic extends BaseLogic
|
||||
'supplier_name' => $params['supplier_name'],
|
||||
'supplier_introduction' => $params['supplier_introduction'] ?? '',
|
||||
'brand_category' => $params['brand_category'] ?? '',
|
||||
'supplier_photos' => !empty($params['supplier_photos']) ? $params['supplier_photos'] : null,
|
||||
'supplier_photos' => !empty($params['supplier_photos']) ? json_encode($params['supplier_photos']) : null,
|
||||
'supplier_group' => $params['supplier_group'] ?? 0,
|
||||
'supplier_category' => $params['supplier_category'] ?? 0,
|
||||
'supplier_grade' => $params['supplier_grade'] ?? 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user