|
@@ -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)
|
|
@@ -1043,7 +1043,7 @@ class ElectPool Extends Model
|
|
|
// $openid = User::where('id',$user_id)->value('openid');
|
|
|
$openid = User::where('administrator',1)->where('is_del',1)->order('id asc')->limit(1)->value('openid');
|
|
|
$template_id = "W5AkhY0RnEFj74WwO5qwYRR5-JIuhzjHr5NMb9pACwc";
|
|
|
- $path = "pages/userInfo/index?id=".$user_id."&administrator=1";
|
|
|
+ $path = "pages/userInfo/index?id=".$user['id']."&administrator=1";
|
|
|
$data = [
|
|
|
'first'=>[
|
|
|
"value"=>'你有一待处理事项',
|