1 Star 0 Fork 0

菜鸟9012 / 阿拉丁叮当赶集支付DEMO

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

alading/pay-server

这是一个私人的包,请勿下载

配置

公共配置

// 支付配置   ./config/payment.php里面
return  [
    'app_name'=>'xxxx', //项目名称
    'app_id'=>'xxxx', //项目ID
    'app_key'=>'xxxx',//项目秘钥
    'url'=>'xxxx' //支付API
];

使用

判断权限方法

// 引入类库
use think\duanguobin\PayMent;
// 支付
$order=array(
    'order'=>'123213213',
    'amount'=>'100',//金额 分
    'pay_type'=>'wx_pay',//微信支付
    'ip'=>'47.112.237.45'
);
(new PayMent())->payOrder($order);
// 退款
(new PayMent())->refundOrder('123213213');

// 查询
(new PayMent())->queryOrder('12321321113');

Comments ( 0 )

Sign in for post a comment

About

阿拉丁叮当赶集支付DEMO spread retract
Cancel

Releases (1)

All

Contributors

All

Activities

load more
can not load any more
PHP
1
https://gitee.com/phper_b/ald-payment-system-demo.git
git@gitee.com:phper_b/ald-payment-system-demo.git
phper_b
ald-payment-system-demo
阿拉丁叮当赶集支付DEMO
master

Search