mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: alipay f2f sdk
This commit is contained in:
parent
313ac9d27f
commit
33b59d126e
@ -36,6 +36,7 @@ class AlipayF2F {
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$gateway = new \Library\AlipayF2F();
|
$gateway = new \Library\AlipayF2F();
|
||||||
|
$gateway->setMethod('alipay.trade.precreate');
|
||||||
$gateway->setAppId($this->config['app_id']);
|
$gateway->setAppId($this->config['app_id']);
|
||||||
$gateway->setPrivateKey($this->config['private_key']); // 可以是路径,也可以是密钥内容
|
$gateway->setPrivateKey($this->config['private_key']); // 可以是路径,也可以是密钥内容
|
||||||
$gateway->setAlipayPublicKey($this->config['public_key']); // 可以是路径,也可以是密钥内容
|
$gateway->setAlipayPublicKey($this->config['public_key']); // 可以是路径,也可以是密钥内容
|
||||||
|
3
public/theme/.gitignore
vendored
Normal file
3
public/theme/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*
|
||||||
|
!*v2board
|
||||||
|
!.gitignore
|
Loading…
Reference in New Issue
Block a user