colyii / laravel-fuiou by colyii

Fuiou 富友金账户
62
3
2
Package Data
Maintainer Username: colyii
Maintainer Contact: colyii@icloud.com (colyii)
Package Create Date: 2017-01-19
Package Last Update: 2017-03-10
Language: PHP
License: MIT
Last Refreshed: 2024-11-21 03:01:45
Package Statistics
Total Downloads: 62
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 3
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

Fuiou 富友金账户

安装

composer require colyii/laravel-fuiou dev-master

或者在composer.json中加入

"require": { "colyii/laravel-fuiou": "dev-master" }

更新依赖 composer update

使用说明

找到 config/app.php 文件

'providers' => [

Colyii\Fuiou\FuiouServiceProvider::class, ] 运行 php artisan vendor:publish 命令

配置文件 config/colyii-fuiou.php 已经生成,按照要求配置即可

DEMO

PC 查询余额

$fuiou = app('PcFuiou'); $params = [ 'cust_no' => '18672385088', ]; $balance = $fuiou->balanceAction($params);

=============================================

Mobile 开户 $fuiou = app('MobileFuiou'); $params = [ *** //app 页面开户参数 ]; $rsaSign = $fuiou->rsaSign($params, 'app/appWebReg'); $balance = $fuiou->appWebReg($params, $rsaSign);