Browse Source

Updated public

north 7 years ago
parent
commit
69eba551cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/protected/modules/j/controllers/WebController.php

+ 1 - 1
www/protected/modules/j/controllers/WebController.php

@@ -36,7 +36,7 @@ class WebController extends JBaseController {
 						$userAr->user_name = $userInfo['nickname'];
 						$userAr->avatar = $userInfo['headimgurl'];
 						$userAr->wx_pub_openid = $userInfo['openid'];
-						$userAr->unionid = $userInfo['unionid'];
+						$userAr->unionid = $userInfo['openid'];
 						$userAr->sex = $userInfo['sex'];
 						$userAr->register_time = time();
 						$userAr->channel = 'wxpub';