|
@@ -68,9 +68,9 @@ class CoachService
|
|
|
->whereHas('real', function ($query) {
|
|
|
$query->where('state', TechnicianAuthStatus::PASSED->value);
|
|
|
})
|
|
|
- // ->whereHas('qual', function ($query) {
|
|
|
- // $query->where('state', TechnicianAuthStatus::PASSED->value);
|
|
|
- // })
|
|
|
+ ->whereHas('qual', function ($query) {
|
|
|
+ $query->where('state', TechnicianAuthStatus::PASSED->value);
|
|
|
+ })
|
|
|
->with(['info:id,nickname,avatar,gender'])
|
|
|
->paginate($perPage);
|
|
|
|