文档
测试

异步生成Excel模板文件轮询

POST
10.88.77.40:9999/zuanzhan/zuanzhan/file/generate/template/get

接口描述

bizType: 11-推广任务,14效果数据

请求参数

参数名
类型
描述
必填
bizType
int
必填 11-推广任务,14效果数据
必填
effectType
String
可选 click 或者 impression, bizType=14该参数才要传
必填
startDate
String
可选 yyyy-mm-dd, bizType=14该参数才要传
必填
endDate
String
可选 yyyy-mm-dd, bizType=14该参数才要传
必填
timestamp
int
必填 时间戳
必填

说明 / 示例

**请求示例** url: 10.88.77.40:9999/zuanzhan/zuanzhan/file/generate/template/get **request** ```javascript {"bizType":14,"effectType":"impression","startDate":"2019-10-15","endDate":"2019-10-21","timestamp":324} ``` **response** 如果code=0,但是data是空,则继续轮询 如果code!=0,提示失败,结束轮询 如果code=0,data不为空,则下载文件 ```javascript { "code": 0, "msg": "success", "debugMsg": null, "data": "http://sit-files.baozun.com:2900/files/downloadByFileCode?fileCode=0cb3f304-17e2-41e4-b4f9-67d615b0b7ff" } ```