| | |
| | | withdrawDetail.setStatus("SUCCESS"); |
| | | withdrawDetailService.updateById(withdrawDetail); |
| | | orderService.updateById(order); |
| | | }else if ("CANCELLED".equals(state)){ |
| | | }else if ("CANCELLED".equals(state)||"CANCELING".equals(state)||"FAIL".equals(state)){ |
| | | // 校验提现 |
| | | List<Withdraw> list = withdrawService.lambdaQuery().eq(Withdraw::getUserId, order.getUserId()) |
| | | .eq(Withdraw::getOrderId, order.getId()).list(); |
| | |
| | | return allTransfersSuccessful; |
| | | } |
| | | |
| | | // public static void main(String[] args) { |
| | | // String s = "1827928ae317443a8ef788e9ed56e8dc"; |
| | | // String s1 = HttpUtil.queryTransBatRequest(WechatConstants.WE_CHAT_PAY_QUERY_URL_PRE + s, |
| | | // "7EEA04429B006E12AAA421C002EC48BBEED5BE94", |
| | | // "1665330417", |
| | | // "D:\\apiclient_key.pem", WechatConstants.WE_CHAT_QUERY_URL_SUF + s); |
| | | // System.err.println(s1); |
| | | // } |
| | | |
| | | } |