uutan/fulu

福禄网络开放平台的SDK

0.0.3 2020-05-22 05:02 UTC

This package is auto-updated.

Last update: 2024-09-22 15:23:23 UTC


README

福禄网络产品的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