|
@@ -156,8 +156,6 @@ public class BytedanceServiceImpl implements IBytedanceService {
|
|
|
|
|
|
@Override
|
|
|
public JSONObject addBytedanceColonelActivityProduct(Long activityId, Long productInfo) {
|
|
|
-
|
|
|
-
|
|
|
JSONObject returnJson = new JSONObject();
|
|
|
AccessToken accessToken = tokenService.getAccessToken(1L);
|
|
|
|
|
@@ -175,10 +173,6 @@ public class BytedanceServiceImpl implements IBytedanceService {
|
|
|
// param.setRetrieveMode(1);//获取模式。0: 分页模式(默认),最多返回10000条数据;1: 游标模式(推荐),返回条数无限制
|
|
|
|
|
|
AllianceColonelActivityProductResponse response = request.execute(accessToken);
|
|
|
-
|
|
|
- System.out.println(response);
|
|
|
-
|
|
|
-
|
|
|
JSONObject jsonObject = JSONObject.parseObject(response.toString());
|
|
|
Integer code = jsonObject.getInteger("code");
|
|
|
String msg = jsonObject.getString("msg");
|
|
@@ -267,7 +261,6 @@ public class BytedanceServiceImpl implements IBytedanceService {
|
|
|
param.setEndTime(endTime.concat(" 23:59:59"));
|
|
|
param.setTimeType("pay");// 查询时间类型。pay: 支付时间(默认); update:联盟侧更新时间,非订单状态更新时间
|
|
|
BuyinInstituteOrderColonelResponse response = request.execute(accessToken);
|
|
|
- System.out.println(response);
|
|
|
if (Check.isNull(response) || !"10000".equals(response.getCode())) {
|
|
|
log.error("\n【请求接口】: {}\n【请求参数】:{}\n【响应数据】:{}", "/buyin/instituteOrderColonel;(查询团长订单)", param, response);
|
|
|
return;
|
|
@@ -346,8 +339,6 @@ public class BytedanceServiceImpl implements IBytedanceService {
|
|
|
param.setStartTime(startTime.concat(" 00:00:00"));
|
|
|
param.setEndTime(endTime.concat(" 23:59:59"));
|
|
|
BuyinColonelMultiSettlementOrdersResponse response = request.execute(accessToken);
|
|
|
-
|
|
|
- System.out.println(response);
|
|
|
if (Check.isNull(response) || !"10000".equals(response.getCode())) {
|
|
|
log.error("\n【请求接口】: {}\n【请求参数】:{}\n【响应数据】:{}", "/buyin/colonelMultiSettlementOrders;(团长分次结算订单)", param, response);
|
|
|
return;
|