Skip to content
/ easytbk Public
forked from flutterbest/easytbk

PHP简单淘客三合一SDK,支持淘宝联盟、京东联盟、多多进宝

Notifications You must be signed in to change notification settings

yijie8/easytbk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

废弃

本想改写一下变成swoft里能用的,后来发现了另一个也比较好用,建议用这个 https://github.com/Hanson/open-taobao-sdk

~/swoft/vendor/yijie/easytbk git add . && git commit -m 'test' && git push

介绍

淘宝联盟、京东联盟、多多进宝SDK封装,有bug或者新增api请提交PR

联系方式

微信:bugfixed

使用方法

1、安装扩展包

composer require niugengyun/easytbk

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

php artisan vendor:publish --provider "Yijie\EasyTBK\ServiceProvider"

3、淘宝SDK初始化

<?php
use Yijie\EasyTBK\Factory;
use Yijie\EasyTBK\TaoBao\Request\TbkItemInfoGetRequest;

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

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

About

PHP简单淘客三合一SDK,支持淘宝联盟、京东联盟、多多进宝

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%