| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | @Controller |
| | |
| | | return this.iUserBankService.addBank(bank, request); |
| | | } |
| | | |
| | | @RequestMapping({"delete.do"}) |
| | | @ResponseBody |
| | | public ServerResponse delete(@RequestParam("id") String id, HttpServletRequest request) { |
| | | return this.iUserBankService.delete(id, request); |
| | | } |
| | | |
| | | //修改银行卡信息 |
| | | @RequestMapping({"update.do"}) |
| | | @ResponseBody |
| | |
| | | return this.iUserBankService.updateBank(bank, request); |
| | | } |
| | | |
| | | //修改银行卡信息 |
| | | @RequestMapping({"getById.do"}) |
| | | @ResponseBody |
| | | public ServerResponse getById(@RequestParam("id") String id, HttpServletRequest request) { |
| | | return this.iUserBankService.getById(id, request); |
| | | } |
| | | |
| | | //查询用户银行卡信息 |
| | | @RequestMapping({"getBankInfo.do"}) |
| | | @ResponseBody |