dev-master
9999999-dev https://github.com/colyii/laravel-fuiouFuiou 富友金账户
MIT
The Requires
- php >=5.4.0
- colyii/laravel-fuiou dev-master
by colyii
laravel laravel 5 l5 fuiou fuiou sdk
Fuiou 富友金账户
Fuiou 富友金账户, (*1)
安装, (*2)
composer require colyii/laravel-fuiou dev-master, (*3)
或者在composer.json中加入, (*4)
"require": { "colyii/laravel-fuiou": "dev-master" }, (*5)
更新依赖 composer update, (*6)
使用说明, (*7)
找到 config/app.php 文件, (*8)
'providers' => [, (*9)
Colyii\Fuiou\FuiouServiceProvider::class, ] 运行 php artisan vendor:publish 命令, (*10)
配置文件 config/colyii-fuiou.php 已经生成,按照要求配置即可, (*11)
DEMO, (*12)
PC 查询余额, (*13)
$fuiou = app('PcFuiou'); $params = [ 'cust_no' => '18672385088', ]; $balance = $fuiou->balanceAction($params);, (*14)
=============================================, (*15)
Mobile 开户 $fuiou = app('MobileFuiou'); $params = [ *** //app 页面开户参数 ]; $rsaSign = $fuiou->rsaSign($params, 'app/appWebReg'); $balance = $fuiou->appWebReg($params, $rsaSign);, (*16)
Fuiou 富友金账户
MIT
laravel laravel 5 l5 fuiou fuiou sdk