提交 e40e69cd 编写于 作者: 李光春's avatar 李光春

- 淘宝客服务增加api接口

上级 0b927b97
## v6.0.76 / 2020-07-11
- 淘宝客服务增加api接口
## v6.0.75 / 2020-07-10
- 更新IP数据库
......
......@@ -25,7 +25,7 @@ use think\db\exception\ModelNotFoundException;
/**
* 定义当前版本
*/
const VERSION = '6.0.75';
const VERSION = '6.0.76';
if (!function_exists('get_ip_info')) {
......
......@@ -459,6 +459,61 @@ class TbkService extends Service
return $this;
}
/**
* 淘宝客-公用-商品关联推荐
* https://open.taobao.com/api.htm?docId=24517&docType=2
* @return array|mixed
*/
public function itemRecommendGet()
{
$this->method = 'taobao.tbk.item.recommend.get';
return $this;
}
/**
* 淘宝客-公用-店铺关联推荐
* https://open.taobao.com/api.htm?docId=24522&docType=2
* @return array|mixed
*/
public function shopRecommendGet()
{
$this->method = 'taobao.tbk.shop.recommend.get';
return $this;
}
/**
* 淘宝客-推广者-选品库宝贝信息
* https://open.taobao.com/api.htm?docId=26619&docType=2
* @return array|mixed
*/
public function uaTmFavoritesItemGet()
{
$this->method = 'taobao.tbk.uatm.favorites.item.get';
return $this;
}
/**
* 淘宝客-推广者-选品库宝贝列表
* https://open.taobao.com/api.htm?docId=26620&docType=2
* @return array|mixed
*/
public function uaTmFavoritesGet()
{
$this->method = 'taobao.tbk.uatm.favorites.get';
return $this;
}
/**
* 淘宝客-服务商-官方活动转链
* https://open.taobao.com/api.htm?docId=41921&docType=2
* @return array|mixed
*/
public function scActivityLinkToolGet()
{
$this->method = 'taobao.tbk.sc.activitylink.toolget';
return $this;
}
/**
* 返回Array
* @return array|mixed
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册