Time扩展添加教务管理表编写教务管理修改用户角色添加方式

This commit is contained in:
巴掌 committed 2018-10-31 16:57:15 +08:00
1 parent 8f7868665b
commit 8c1fbfd00a
56 files changed
+2564 -299

No files matched your search

+2 -2
View File
@@ -12,11 +12,11 @@
// 应用公共文件
// 获取类别列表
function getCategory($id = 0)
function getCategory($id = '0')
{
// 根据父级id查询类别列表
$list = db('category')
->where('pid',$id)
->where('pid','in',$id)
->where('status',1)
->field('id,title')
->select();