| | |
| | | |
| | | private static DYOrderDto getOrderDetail2(String orderNo) throws KeyOrderException { |
| | | String result = requestByOrderNo2(orderNo); |
| | | System.out.println(result); |
| | | JSONObject root = JSONObject.fromObject(result); |
| | | if (root.optInt("errCode") != 0) { |
| | | logger.error(String.format("抖音订单查询出错(2):%s - %s",orderNo, result)); |
| | |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | // DYOrderDto dto = (DYOrderApi.getOrderDetail("6932591080266339994")); |
| | | DYOrderDto result = getOrderDetail("6932591080266471066"); |
| | | DYOrderDto result = getOrderDetail("6932676890890213137"); |
| | | System.out.println(result); |
| | | } |
| | | |