PHP SDK使用说明
项目主页: https://github.com/shopex/teegon-open-php-sdk/
基本设置
require_once('teegon-php/lib/client.php');
$url = 'http://127.0.0.1:8080/api';
$key = 'ysw6o4wl';
$secret = 'fe24mkjmxh5wch4cbob7';
$client = new TeegonClient($url, $key, $secret);
发起Api请求
$params = array( 'user_eid'=>'22323', 'app_id'=>'454546', ); $res = $client->post('shopex.query.appqueue', $params); var_dump($res);