开始拆与考试相关的数据模型
This commit is contained in:
1 parent
bf6b0da925
commit
4073ee3404
13 files changed
+20
-33
No files matched your search
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user