|
|
|
@ -420,11 +420,6 @@ class OrderController extends Controller |
|
|
|
]; |
|
|
|
|
|
|
|
$app = Factory::openPlatform($config); |
|
|
|
$refreshToken = $app->getAuthorizer($order->agent->appid)['authorization_info']['authorizer_refresh_token'] ?? null; |
|
|
|
dd($app, $app->getAuthorizer($order->agent->appid), $order->agent->appid); |
|
|
|
if (!$refreshToken) { |
|
|
|
return $this->error('获取refresh_token失败'); |
|
|
|
} |
|
|
|
$app = $app->miniProgram($order->agent->appid); |
|
|
|
|
|
|
|
$response = $app->app_code->getUnlimit($order->verify_code, ['page' => 'pages/verification/index']); |
|
|
|
|