开始拆与考试相关的数据模型
This commit is contained in:
1 parent
bf6b0da925
commit
4073ee3404
13 files changed
+20
-33
No files matched your search
+1
-1
@@ -19,4 +19,4 @@ default_lang = zh-cn
|
||||
EXPIRE = 1200
|
||||
|
||||
[SHANGMA]
|
||||
CLASSMAX = 30
|
||||
CLASSMAX = 25
|
||||
@@ -68,7 +68,7 @@ class Admin extends BaseModel
|
||||
|
||||
public function glGroup()
|
||||
{
|
||||
return $this->belongsToMany('AuthGroup', 'AuthGroupAccess', 'uid', 'group_id');
|
||||
return $this->belongsToMany('AuthGroup', 'AuthGroupAccess', 'group_id', 'uid');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label for="school_id" class="layui-form-label"><span class="x-red">*</span>所在单位</label>
|
||||
<div class="layui-input-block">
|
||||
{php} $schlist = schoolList('校级', '区级');{/php}
|
||||
{php} $schlist = danweiJibie('校级', '区级');{/php}
|
||||
<select name="school_id" lay-verify="required">
|
||||
<option value=""></option>
|
||||
{volist name="schlist" id="vo"}
|
||||
|
||||
Loaded 3 of 13 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user