linwu 9 ماه پیش
والد
کامیت
48587ec9a8
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      app/matchmaker/controller/UserController.php

+ 1 - 0
app/matchmaker/controller/UserController.php

@@ -282,6 +282,7 @@ class UserController extends MatchmakerBaseController
             //系统库
             $list = UserModel::where('user_type', 2)
                 ->where('user_status', 1)
+                ->where('is_complete', 1)
                 ->where('sex', '<>', $user['sex'] == 1 ? 1 : 2)
                 ->append(['sex_text'])
                 ->select();