1 Star 5 Fork 2

klmahua / easytaoke

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
README.md 639 Bytes
Copy Edit Web IDE Raw Blame History
码云 authored 2019-07-26 18:58 . "cstopery/easytaoke:dev-master"

介绍

淘宝联盟、京东联盟、多多进宝SDK封装。

使用方法

1、安装扩展包

composer require  "cstopery/easytaoke:dev-master"

2、执行下面的命令,然后修改config/EasyTaoKe.php

php artisan vendor:publish --provider "Cstopery\EasyTaoKe\ServiceProvider"

3、淘宝SDK初始化

<?php
use Cstopery\EasyTaoKe\Factory;
use Cstopery\EasyTaoKe\TaoBao\Request\TbkItemInfoGetRequest;

$client = Factory::taobao ();
$req = new TbkItemInfoGetRequest;
$req->setNumIids ($numIids);
return $client->execute ($req);

4、京东、拼多多SDK初始化基本一样,自己摸索

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/klmahuaw/easytaoke.git
git@gitee.com:klmahuaw/easytaoke.git
klmahuaw
easytaoke
easytaoke
master

Search