|
...
|
...
|
@@ -83,7 +83,7 @@ class UpdateRoute extends Command |
|
|
|
$v['gallery'][$keys] = $values;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$productModel->edit(['thumb'=>$v['thumb'],'gallery'=>$v['gallery']],['id'=>$v['id']]);
|
|
|
|
$productModel->edit(['thumb'=>json_encode($v['thumb'],true),'gallery'=>json_encode($v['gallery'],true)],['id'=>$v['id']]);
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
...
|
...
|
|