开始拆与考试相关的数据模型

This commit is contained in:
巴掌 committed 2020-07-18 13:02:54 +08:00
1 parent bf6b0da925
commit 4073ee3404
13 files changed
+20 -33

No files matched your search

+1 -1
View File
@@ -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');
}