diff --git a/app/Payments/AlipayF2F.php b/app/Payments/AlipayF2F.php index 801d5c16..1893ff43 100644 --- a/app/Payments/AlipayF2F.php +++ b/app/Payments/AlipayF2F.php @@ -36,6 +36,7 @@ class AlipayF2F { { try { $gateway = new \Library\AlipayF2F(); + $gateway->setMethod('alipay.trade.precreate'); $gateway->setAppId($this->config['app_id']); $gateway->setPrivateKey($this->config['private_key']); // 可以是路径,也可以是密钥内容 $gateway->setAlipayPublicKey($this->config['public_key']); // 可以是路径,也可以是密钥内容 diff --git a/public/theme/.gitignore b/public/theme/.gitignore new file mode 100644 index 00000000..23ba9669 --- /dev/null +++ b/public/theme/.gitignore @@ -0,0 +1,3 @@ +* +!*v2board +!.gitignore