Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
数据应用
ThinkLibrary
提交
a8c454fb
T
ThinkLibrary
项目概览
数据应用
/
ThinkLibrary
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
代码片段
项目成员
Pages
T
ThinkLibrary
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
a8c454fb
编写于
7月 03, 2020
作者:
李光春
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 增加淘宝联盟获取活动物料
上级
f34eca04
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
70 addition
and
0 deletion
+70
-0
src/service/taobao/TbkService.php
src/service/taobao/TbkService.php
+70
-0
未找到文件。
src/service/taobao/TbkService.php
浏览文件 @
a8c454fb
...
...
@@ -560,6 +560,76 @@ class TbkService extends Service
return
$strParam
;
}
/**
* 获取活动物料
* @return array[]
*/
public
function
getActivityMaterialId
()
{
return
[
[
// https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628646?_k=tcswm1
'name'
=>
'口碑'
,
'list'
=>
[
[
'name'
=>
'口碑主会场活动(2.3%佣金起)'
,
'material_id'
=>
1583739244161
],
[
'name'
=>
'生活服务分会场活动(2.3%佣金起)'
,
'material_id'
=>
1583739244162
]
]
],
[
// https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628647?_k=hwggf9
// https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10630427?_k=sdet4e
// https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10630361?_k=nq6zgt
'name'
=>
'饿了么'
,
'list'
=>
[
[
'name'
=>
'聚合页(6%佣金起)'
,
'material_id'
=>
1571715733668
],
[
'name'
=>
'新零售(4%佣金起)'
,
'material_id'
=>
1585018034441
],
[
'name'
=>
'餐饮'
,
'material_id'
=>
1579491209717
],
]
],
[
// https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10634663?_k=zqgq01
'name'
=>
'卡券(饭票)'
,
'list'
=>
[
[
'name'
=>
'饿了么卡券(1元以下商品)'
,
'material_id'
=>
32469
],
[
'name'
=>
'饿了么卡券投放全网商品库'
,
'material_id'
=>
32470
],
[
'name'
=>
'饿了么卡券(5折以下)'
,
'material_id'
=>
32603
],
[
'name'
=>
'饿了么头部全国KA商品库'
,
'material_id'
=>
32663
],
[
'name'
=>
'饿了么卡券招商爆品库'
,
'material_id'
=>
32738
],
]
],
];
}
/**
* 获取官方物料API汇总
* https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html#/detail/10628875?_k=gpov9a
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录