configName); $data = \app\common\model\app\Config::getConfig($this->configName); return $this->success("获取成功",$data); } /** * 获取配置 * @return mixed */ public function setConfig(){ $row = $this->request->post("row/a", [], 'trim'); $type = $this->request->post("type", [], 'trim'); \app\common\model\fill\Handle::check('app_config',$this->configName); $data = \app\common\model\app\Config::setConfig($this->configName,$row); return $this->success("保存成功",$data); } }