修复,新增授权获取不到authorizer_refresh_token的问题

master
李春波 1 year ago
parent 0358495b15
commit ef090bf170
  1. 2
      app/common/service/wechat/OpenPlatform.php

@ -105,7 +105,7 @@ class OpenPlatform extends BaseServices {
$insert_data[] = [
'platform_id' => $platform_id,
'appid' => $item['authorizer_appid'] ?? '',
'refreshtoken' => $item['refresh_token'] != '' ? $item['refresh_token'] : $program_authorization_info['authorizer_refresh_token'],
'refreshtoken' => $program_authorization_info['authorizer_refresh_token'],
'auth_time' => $item['auth_time'] ?? '',
'app_type' => isset($program_authorizer_info['MiniProgramInfo']),
'nick_name' => $program_authorizer_info['nick_name'] ?? '',

Loading…
Cancel
Save