1
This commit is contained in:
@@ -85,11 +85,11 @@ class SkuAttributeService
|
|||||||
*/
|
*/
|
||||||
public function beforeServiceUpdate($data, Request $request)
|
public function beforeServiceUpdate($data, Request $request)
|
||||||
{
|
{
|
||||||
// $options = [];
|
$options = [];
|
||||||
// foreach ($data['options_json'] as $v){
|
foreach ($data['options_json'] as $v){
|
||||||
// $options[] = $v['value'];
|
$options[] = $v['value'];
|
||||||
// }
|
}
|
||||||
// $data['options_json'] = json_encode($options, JSON_UNESCAPED_UNICODE);
|
$data['options_json'] = json_encode($options, JSON_UNESCAPED_UNICODE);
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user