| | |
| | | |
| | | public static DYOrderDto getOrderDetail(String orderNo) throws KeyOrderException { |
| | | String result = requestByOrderNo1(orderNo); |
| | | System.out.println(result); |
| | | JSONObject root = JSONObject.fromObject(result); |
| | | if (root.optInt("code") != 1000) { |
| | | logger.error(String.format("抖音订单查询出错:%s - %s",orderNo, result)); |
| | |
| | | } |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | DYOrderDto dto = (DYOrderApi.getOrderDetail("6931134387948820382")); |
| | | DYOrderDto dto = (DYOrderApi.getOrderDetail("6931373743528482165")); |
| | | System.out.println("123123"); |
| | | } |
| | | |