maxzhang / easytbk
淘客六合一SDK,支持淘宝联盟、京东联盟、多多进宝、唯品会、苏宁、蘑菇街. 微信:bugfixed
dev-master
2020-04-14 03:12 UTC
Requires
- php: >=7.0.0
- graham-campbell/manager: ^2.0|^3.0|^4.0
- illuminate/support: ~5.8|~6.0|~7.0
- laravel/helpers: ^1.2
This package is auto-updated.
Last update: 2025-03-29 00:51:08 UTC
README
淘宝联盟、京东联盟、多多进宝SDK封装。
使用方法
1、安装扩展包
composer require niugengyun/easytbk
2、执行下面的命令,然后修改config/easytbk.php
php artisan vendor:publish --provider "NiuGengYun\EasyTBK\ServiceProvider"
3、淘宝SDK初始化
<?php use NiuGengYun\EasyTBK\Factory; use NiuGengYun\EasyTBK\TaoBao\Request\TbkItemInfoGetRequest; $client = Factory::taobao (); $req = new TbkItemInfoGetRequest; $req->setNumIids ($numIids); return $client->execute ($req);
4、京东、拼多多SDK初始化基本一样,自己摸索