0
This commit is contained in:
1 parent
36d6c08ea7
commit
3c95c4ff7a
9 files changed
+81
-77
No files matched your search
@@ -692,8 +692,16 @@ class Index extends AdminBase
|
||||
->field('id, kaohao_id, subject_id, user_id, user_group, defen, update_time')
|
||||
->order([$src['field']=>$src['order']])
|
||||
->with([
|
||||
'subjectName'=>function($query){
|
||||
'subjectName' => function ($query) {
|
||||
$query->field('id,title');
|
||||
},
|
||||
'cjAdmin' => function ($query) {
|
||||
$query->field('id, xingming, school_id')
|
||||
->with([
|
||||
'adSchool' => function ($q) {
|
||||
$q->field('id, jiancheng');
|
||||
}
|
||||
]);
|
||||
}
|
||||
])
|
||||
->append(['userInfo'])
|
||||
|
||||
Reference in new issue
Block a user