修改请求接口

dev-discount
袁野 2 years ago
parent 7ba59cd240
commit c74cb14ed7
  1. 5
      hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java
  2. 2
      hai-schedule/src/main/java/com/hai/schedule/HighOrderSchedule.java

@ -292,6 +292,11 @@ public class CzOrderController {
return; return;
} }
rechargeOrder.setRechargeStatus(203);
childOrder.setStatus(103);
outRechargeOrderService.updateOrder(rechargeOrder);
outRechargeChildOrderService.updateOrder(childOrder);
outRechargeOrderService.rechargeOrderToRefund(rechargeOrder.getId()); outRechargeOrderService.rechargeOrderToRefund(rechargeOrder.getId());
new Thread(() -> { new Thread(() -> {

@ -92,7 +92,7 @@ public class HighOrderSchedule {
* @Param [] * @Param []
* @return void * @return void
*/ */
@Scheduled(cron="0 0/1 * * * ?") //每1分钟执行一次 @Scheduled(cron="0 0/5 * * * ?") //每10分钟执行一次
public void initRechargeOrder() { public void initRechargeOrder() {
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("payStatus" , String.valueOf(102)); map.put("payStatus" , String.valueOf(102));

Loading…
Cancel
Save