后端修改
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'),
小程序端替換授權(quán)js以及wxml文件,小程序目錄
components/authorize/authorize.js
components/authorize/authorize.wxml
重新上傳小程序完成修復,之前的已經(jīng)顯示微信用戶的需要刪除用戶重新授權(quán)才能修復

