修改单位管理

This commit is contained in:
小松树 committed 2019-04-03 16:55:30 +08:00
1 parent bf6c516bb6
commit 38873a5206
18 files changed
+748 -601

No files matched your search

+3 -2
View File
@@ -13,9 +13,8 @@ class SystemBase extends Base
// 系统设置
public function index()
{
// 获取用户信息
$list = sysbasemod::field('id,webtitle,keywords,description,thinks,danwei')
$list['data'] = sysbasemod::field('id,webtitle,keywords,description,thinks,danwei')
->order(['id'=>'desc'])
->find();
@@ -23,8 +22,10 @@ class SystemBase extends Base
'webtitle'=>'设置系统信息',
'butname'=>'设置',
'formpost'=>'PUT',
'url'=>'/sysbase/'.$list['data']['id'],
);
// 模板赋值
$this->assign('list',$list);