https://github.com/adcbguo/yun_pay
云账户
https://github.com/adcbguo/yun_pay
thinkphp transfer-accounts yun-pay
Last synced: 5 months ago
JSON representation
云账户
- Host: GitHub
- URL: https://github.com/adcbguo/yun_pay
- Owner: adcbguo
- Created: 2019-11-06T09:40:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-08T08:39:33.000Z (over 6 years ago)
- Last Synced: 2026-01-11T11:45:34.825Z (5 months ago)
- Topics: thinkphp, transfer-accounts, yun-pay
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 云账户SDK组件
## 安装方式
```
composer require adcbguo/yun_pay dev-master
```
## 配置文件
```
把配置文件 yun_pay\config.php 复制到项目的对应配置目录下
```
## 使用方式
```
//参数类型看注释
// 转账到银行卡
Order::make($config)->realtime($order_id,$real_name,$card_no,$id_card,$pay,$phone_no,$pay_remark);
// 转账到支付宝账户
Order::make($config)->alipay($order_id,$real_name,$id_card,$card_no,$pay,$pay_remark);
// 发微信红包
Order::make($config)->wxpay($order_id,$real_name,$id_card,$openid,$pay,$notes,$pay_remark);
// 查询一条转账
Query::make($config)->one($order_id,$channel);
// 查询云账户余额
Query::make($config)->accounts();
```