|
@@ -3,6 +3,7 @@ use Dever;
|
|
|
use Manage\Lib\Page;
|
|
|
ini_set("memory_limit", -1);
|
|
|
set_time_limit(0);
|
|
|
+ini_set('max_input_vars', 10000);
|
|
|
# 更新页 项目着急上线 以后优化并封装
|
|
|
class Update extends Page
|
|
|
{
|
|
@@ -396,7 +397,8 @@ class Update extends Page
|
|
|
}
|
|
|
if ($update) {
|
|
|
$data = $other = $sku = [];
|
|
|
- $input = Dever::input();
|
|
|
+ $input = base64_decode(Dever::input('data'));
|
|
|
+ $input = Dever::json_decode($input);
|
|
|
$id = false;
|
|
|
if (isset($input['id']) && $input['id'] > 0) {
|
|
|
$id = $input['id'];
|