Time扩展添加教务管理表编写教务管理修改用户角色添加方式
This commit is contained in:
1 parent
8f7868665b
commit
8c1fbfd00a
56 files changed
+2564
-299
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user