Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 651 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 651 Bytes

uutan/fulu

福禄网络产品的SDK接口

特点

  1. 支持武汉本土的网络公司
  2. 未来需要对接的公司越来越多
  3. 方便升级管理

环境需求

  • PHP >= 5.6

安装

$ composer require "uutan/fulu"

使用

use uutan\Fulu\FuLuFactory;

$config = [
    'app_key' => '',
    'serect' => '',
];

// 话费充值接口
$obj = FuLuFactory::factory('fulu.order.mobile.add',$config);

$obj->send([
    'charge_phone' => '186XXX',
    'charge_value' => '50',
    'customer_order_no' => '外部订单号',
]);

License

MIT