修改系统参数表
This commit is contained in:
1 parent
7a8cd607db
commit
4127de54a2
18 files changed
+2408
-458
No files matched your search
@@ -14,12 +14,23 @@ class SystemBase extends Base
|
||||
public function index()
|
||||
{
|
||||
|
||||
// 获取用户信息
|
||||
$list = sysbasemod::field('id,webtitle,keywords,description,thinks,danwei')
|
||||
->order(['id'=>'desc'])
|
||||
->find();
|
||||
|
||||
// 设置要给模板赋值的信息
|
||||
$list['title'] = '系统设置';
|
||||
|
||||
$this->assign('list',$list);
|
||||
|
||||
return $this->fetch();
|
||||
|
||||
// 模板赋值
|
||||
$this->assign('list',$list);
|
||||
|
||||
halt($list);
|
||||
|
||||
// 渲染模板
|
||||
return $this->fetch();
|
||||
}
|
||||
@@ -71,7 +82,7 @@ class SystemBase extends Base
|
||||
public function edit($id)
|
||||
{
|
||||
// 获取用户信息
|
||||
$list = sysbasemod::field('id,title,keywords,description,thinks,danwei')
|
||||
$list = sysbasemod::field('id,webtitle,keywords,description,thinks,danwei')
|
||||
->get($id);
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user