|
@@ -47,6 +47,8 @@ public class JiaoYangReportController extends BaseController {
|
|
|
@GetMapping("/getAuthItem")
|
|
@GetMapping("/getAuthItem")
|
|
|
@ApiOperation(value = "商品列表")
|
|
@ApiOperation(value = "商品列表")
|
|
|
public JSONObject getAuthItem() throws ParseException, InterruptedException {
|
|
public JSONObject getAuthItem() throws ParseException, InterruptedException {
|
|
|
|
|
+
|
|
|
|
|
+ jiaoYangReportService.deleteAuthItem();
|
|
|
String cookie = jiaoYangReportService.getJiaoYangCookie();
|
|
String cookie = jiaoYangReportService.getJiaoYangCookie();
|
|
|
jiaoYangReportService.getAuthItem(cookie, 0);
|
|
jiaoYangReportService.getAuthItem(cookie, 0);
|
|
|
// Thread.sleep(5000);
|
|
// Thread.sleep(5000);
|
|
@@ -110,11 +112,11 @@ public class JiaoYangReportController extends BaseController {
|
|
|
export.add(data.getString("promoterId"));
|
|
export.add(data.getString("promoterId"));
|
|
|
export.add(data.getString("promoterNick"));
|
|
export.add(data.getString("promoterNick"));
|
|
|
export.add(data.getString("promoterPhoto"));
|
|
export.add(data.getString("promoterPhoto"));
|
|
|
- export.add(data.getString("mcnCommissionRateView"));
|
|
|
|
|
|
|
+ // export.add(data.getString("mcnCommissionRateView"));
|
|
|
exportList.add(export);
|
|
exportList.add(export);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- String[] headers = {"商品id", "商品标题", "商品链接", "商品单价", "佣金率", "达人ID", "达人昵称", "达人头像", "出让佣金比例"};
|
|
|
|
|
|
|
+ String[] headers = {"商品id", "商品标题", "商品链接", "商品单价", "佣金率", "达人ID", "达人昵称", "达人头像"};
|
|
|
OutputStream os = response.getOutputStream();
|
|
OutputStream os = response.getOutputStream();
|
|
|
ExportExcelUtils eeu = new ExportExcelUtils();
|
|
ExportExcelUtils eeu = new ExportExcelUtils();
|
|
|
XSSFWorkbook workbook = new XSSFWorkbook();
|
|
XSSFWorkbook workbook = new XSSFWorkbook();
|