1.修改 /vendor/riverslei/payment/src/Gateways/Alipay/AppCharge.php
文件77行为一下内容:
'disable_pay_channels' => implode(',', self::$config->get('limit_pay', '')),
2.修改 /vendor/riverslei/payment/src/Gateways/Alipay/QrCharge.php
文件54行为一下内容:
'disable_pay_channels' => implode(',', self::$config->get('limit_pay', '')),
3.修改 /vendor/riverslei/payment/src/Gateways/Alipay/WapCharge.php
文件59行为一下内容:
'disable_pay_channels' => implode(',', self::$config->get('limit_pay', '')),
4.修改 /vendor/riverslei/payment/src/Gateways/Alipay/WebCharge.php
文件79行为一下内容:
'disable_pay_channels' => implode(',', self::$config->get('limit_pay', '')),
5.修改 /vendor/riverslei/payment/src/Helpers/ArrayUtil.php
文件119-121行为一下内容:
// if (get_magic_quotes_gpc()) {
// $arg = stripslashes($arg);
// }
6.修改后重启 swoole 服务即可