...
|
...
|
@@ -165,7 +165,7 @@ class WechatController extends BaseController |
|
|
]);
|
|
|
if($userId && $row){
|
|
|
$token = cmf_generate_user_token($userId, 'public');
|
|
|
$userModel=new UserModel();
|
|
|
$userModel=new \app\user\model\UserModel();
|
|
|
$user=$userModel->getUserInfo(['user_id'=>$userId,'app_id'=>$appId]);
|
|
|
cmf_update_current_user($user);
|
|
|
session('token',$token);
|
...
|
...
|
|