后端修改
app/api/controller/wechat/AuthController.php
if (!isset($userInfoCong['openid'])) return app('json')->fail('openid获取失败');
if (!isset($userInfo['unionId'])) $userInfo['unionId'] = '';
$userInfo['openId'] = $userInfoCong['openid'];
crmeb/traits/JwtAuthModelTrait.php
'exp' => strtotime('+ 30day'),
小程序端替换授权js以及wxml文件,小程序目录
components/authorize/authorize.js
components/authorize/authorize.wxml
重新上传小程序完成修复,之前的已经显示微信用户的需要删除用户重新授权才能修复