|
|
@@ -25,7 +25,7 @@ class SystemOauthTokenController extends ControllerBase |
|
|
|
$config["pay_ali_public_key"] = $args["config"]["ali_public_key"] ?? "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzEC7+3O/Ej/gkXug6EgcCM3LjWzz11RR6ESo0KshGg3ODgM8DfdKDHD5b1T6VbcRGFobXQBqVtW008ocUnSOZzE67a73l6mKT3FbmhRsbrgwcUuOHEJUZaLFxPibJgFl7fkOjBcIiz+Wc+9VDTt8O4YxIZhAL6L6ppXcrVrCkOaiIiuHGyp7FjQ+5s3Lk3NLSO3TfXw1WEX2F+IHnw32ZN/FlC8rF8HVlgM0w/PZJ9RuadoLqn5H6z/iqrurbtxscnx0Qbdt8CBzREabJnWxHjxO936AXu9njIPvsXkTfaJJIXxRGGb0b8peSiCljwi8UEODe8mjl2c/LzLel6RuLQIDAQAB"; |
|
|
|
$code = $args["code"] ?? ""; |
|
|
|
$refresh_token = $args["refresh_token"] ?? ""; |
|
|
|
$this->logger($args, 'SystemOauthTokenController', true); |
|
|
|
$this->logger($config, '$config', true); |
|
|
|
$AlipayServiceToTransfer = new AlipayServiceToSystemOauthToken($config); |
|
|
|
$result = $AlipayServiceToTransfer->systemOauthToken($code, $refresh_token); |
|
|
|
if (!$result["status"]) { |
|
|
|