将系统名称移到配置中增加系统错误方法
This commit is contained in:
1 parent
2e507af16c
commit
6d1d18b48b
14 files changed
+88
-28
No files matched your search
@@ -14,7 +14,7 @@ class SystemBase extends BaseController
|
||||
public function edit()
|
||||
{
|
||||
// 获取用户信息
|
||||
$list['data'] = sysbasemod::field('id,webtitle,keywords,description,thinks,danwei')
|
||||
$list['data'] = sysbasemod::field('id,keywords,description,thinks,danwei')
|
||||
->order(['id'=>'desc'])
|
||||
->find();
|
||||
|
||||
@@ -40,7 +40,7 @@ class SystemBase extends BaseController
|
||||
$validate = new \app\system\validate\SystemBase;
|
||||
|
||||
// 获取表单数据
|
||||
$list = request()->only(['webtitle','keywords','description','thinks','danwei'],'put');
|
||||
$list = request()->only(['keywords','description','thinks','danwei'],'put');
|
||||
$list['id'] = $id;
|
||||
|
||||
// 验证表单数据
|
||||
|
||||
Reference in new issue
Block a user