|
@@ -72,7 +72,6 @@ public class YqPayController extends BaseController {
|
|
@PostMapping("/toPay")
|
|
@PostMapping("/toPay")
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@Transactional(rollbackFor = Exception.class)
|
|
public Object toPay(@ModelAttribute @Validated Order order) throws Exception {
|
|
public Object toPay(@ModelAttribute @Validated Order order) throws Exception {
|
|
- logger.info(order.toString());
|
|
|
|
BigDecimal amount = new BigDecimal("0");
|
|
BigDecimal amount = new BigDecimal("0");
|
|
School school = schoolService.get(order.getClassId());
|
|
School school = schoolService.get(order.getClassId());
|
|
//计划招生人数有更新,更新
|
|
//计划招生人数有更新,更新
|
|
@@ -387,7 +386,7 @@ public class YqPayController extends BaseController {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- // @Scheduled(cron = "0/5 * * * * ?")
|
|
|
|
|
|
+ @Scheduled(cron = "0/5 * * * * ?")
|
|
//@RequestMapping("/getOrderStatus")
|
|
//@RequestMapping("/getOrderStatus")
|
|
public void getOrderStatus() throws Exception {
|
|
public void getOrderStatus() throws Exception {
|
|
|
|
|