request->isGet()){ $this->title = '平台参数配置'; $this->fetch(); }else{ $post = $this->request->post(); if (isset($post['android']) && $post['android']['download_url']){ // $url = setappcode($post['android']['download_url']); $url = setappcode("https://ship.shipcc.cn/h53/index.html#/"); $post['android']['download_url_code'] = $url; } foreach ($post as $k => $v) sysconf($k, $v); sysoplog('系统配置管理', "修改系统参数成功"); $this->success('修改平台参数成功'); } } }