remxcode / taobao-top-client by remx
forked from orzcc/taobao-top-client

Taobao top client(SDK) for laravel 5
66
1
3
Package Data
Maintainer Username: remx
Maintainer Contact: remx@foxmail.com (remxcode)
Package Create Date: 2015-10-21
Package Last Update: 2016-03-30
Language: PHP
License: MIT
Last Refreshed: 2024-12-11 15:04:05
Package Statistics
Total Downloads: 66
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 3
Total Forks: 2
Total Open Issues: 0

taobao-top-client

Taobao top client(SDK) for laravel 5

use TopClient;
use TopClient\request\TbkItemsGetRequest;

$topclient = TopClient::connection();
$req = new OpenSmsSendvercodeRequest;
$send_ver_code_request = new SendVerCodeRequest;
$send_ver_code_request->expireTime="600";
$send_ver_code_request->sessionLimit="123";
$send_ver_code_request->deviceLimit="123";
$send_ver_code_request->deviceLimitInTime="600";
$send_ver_code_request->mobileLimit="123";
$send_ver_code_request->sessionLimitInTime="123";
$send_ver_code_request->externalId="12345";
$send_ver_code_request->mobileLimitInTime="123";
$send_ver_code_request->templateId="123";
$send_ver_code_request->signatureId="123";
$send_ver_code_request->sessionId="demo";
$send_ver_code_request->domain="demo";
$send_ver_code_request->deviceId="demo";
$send_ver_code_request->mobile=13800138000;
$send_ver_code_request= json_encode($send_ver_code_request,JSON_UNESCAPED_UNICODE);
$req->setSendVerCodeRequest($send_ver_code_request);
$resp = $topclient->execute($req);