songxingwei 3 years ago
parent
commit
2588a1206a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/common/model/ElectPool.php

+ 2 - 2
application/common/model/ElectPool.php

@@ -1021,8 +1021,8 @@ class ElectPool Extends Model
             return Common::return_error('用户不存在');
 
         //判断是否完善资料
-//        if (!User::checkUserIformationPerfect($user['id']))
-//            return Common::return_error('未完善资料,无法获取');
+        if (!User::checkUserIformationPerfect($user['id']))
+            return Common::return_error('未完善资料,无法获取');
 
 //        $integral = Config::get_values('want_know_integral');  //扣除的积分
 //        if ($userinfo['integral'] < $integral)