修改荣誉添加路由、编写程序课题

This commit is contained in:
小松树 committed 2019-02-27 12:02:48 +08:00
1 parent 56162f1a82
commit 4fcaf1c9ae
13 files changed
+294 -125

No files matched your search

+13 -1
View File
@@ -147,7 +147,19 @@ class Index extends Base
*/
public function read($id)
{
//
// 获取变量
$list['id'] = $id;
// 设置页面标题
$list['title'] = '课题信息';
// 设置数据总数
$ktinfo = new \app\keti\model\KetiInfo;
$list['count'] = $ktinfo->where('ketice',$id)->count();
// 模板赋值
$this->assign('list',$list);
return $this->fetch('keti_info/read');
}
/**