|
@@ -399,10 +399,7 @@ class Update extends Page
|
|
|
$data = $other = $sku = [];
|
|
|
$input = base64_decode(Dever::input('data'));
|
|
|
$input = Dever::json_decode($input);
|
|
|
- $id = false;
|
|
|
- if (isset($input['id']) && $input['id'] > 0) {
|
|
|
- $id = $input['id'];
|
|
|
- }
|
|
|
+ $id = Dever::input('id');
|
|
|
$control = $this->control($data);
|
|
|
foreach ($update as $k => $v) {
|
|
|
if (isset($input[$v['key']])) {
|