| | |
| | | |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.nq.common.ServerResponse; |
| | | import com.nq.pojo.UserRecharge; |
| | | import com.nq.service.IUserRechargeService; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import org.slf4j.Logger; |
| | |
| | | public ServerResponse inMoney(String amt, String payType, HttpServletRequest request) { |
| | | return this.iUserRechargeService.inMoney(amt, payType, request); |
| | | } |
| | | |
| | | @RequestMapping({"info.do"}) |
| | | @ResponseBody |
| | | public ServerResponse info(Integer id) { |
| | | return this.iUserRechargeService.getInfo(id); |
| | | } |
| | | |
| | | @RequestMapping({"editRecharge.do"}) |
| | | @ResponseBody |
| | | public ServerResponse editRecharge(UserRecharge userRecharge) { |
| | | return this.iUserRechargeService.editRecharge(userRecharge); |
| | | } |
| | | |
| | | } |
| | | |