|
@@ -2,6 +2,7 @@ package com.ym.mec.student.controller;
|
|
|
|
|
|
import com.ym.mec.biz.service.StudentWithdrawService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
+import com.ym.mec.common.exception.BizException;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -22,7 +23,8 @@ public class WithdrawController extends BaseController {
|
|
|
@ApiOperation(value = "新增提现申请")
|
|
|
@PostMapping("/add")
|
|
|
public Object add(String bankCardNo, BigDecimal amount) throws Exception {
|
|
|
- studentWithdrawService.apply(bankCardNo, amount);
|
|
|
- return succeed();
|
|
|
+ throw new BizException("此功能暂未开放");
|
|
|
+// studentWithdrawService.apply(bankCardNo, amount);
|
|
|
+// return succeed();
|
|
|
}
|
|
|
}
|