数美天网系统php-sdk
==============
通过 composer 安装:
composer require bqrd/fengkongcloud-php-sdk
修改bootstrap/app.php 增加
$app->register(Bqrd\IShuMei\FengKongCloudServiceProvider::class);
增加配置文件 config/fengkongcloud-php-sdk.php
return [
'version' => '2.0',
'requestUrl' => 'http://api.fengkongcloud.com/',
'accessKey' => '',
'appId' => '',
'options' => [
'timeout' => 1.0,
],
];
use Bqrd\IShuMei\FengKongCloudFacade;
$register = [
'tokenId' => '23432',
'eventName' => '注册',
'deviceId' => 'dfafasfdas',
'ip' => '172.16.76.251',
'signupPlatform' => 'phone',
'phone' => '18611615170',
'getCoupon' => 0,
];
FengKongCloudFacade::register($register); //注册