| | |
| | | import com.nq.common.ServerResponse; |
| | | import com.nq.pojo.User; |
| | | import com.nq.pojo.UserBank; |
| | | import com.nq.service.IApplyLeverServices; |
| | | import com.nq.service.IUserBankService; |
| | | import com.nq.service.IUserService; |
| | | import javax.servlet.http.HttpServletRequest; |
| | |
| | | |
| | | @Autowired |
| | | IUserBankService iUserBankService; |
| | | |
| | | |
| | | //分页查询所有用户列表信息 及模糊查询用户信息 |
| | | @RequestMapping({"list.do"}) |
| | |
| | | //添加用户列表 用户信息 |
| | | @RequestMapping({"addSimulatedAccount.do"}) |
| | | @ResponseBody |
| | | public ServerResponse addSimulatedAccount(HttpServletRequest request, @RequestParam(value = "agentId", required = false) Integer agentId, @RequestParam("phone") String phone, @RequestParam("amt") String amt, @RequestParam("accountType") Integer accountType, @RequestParam("pwd") String pwd) { |
| | | return this.iUserService.addSimulatedAccount(agentId, phone, pwd, amt, accountType, request); |
| | | public ServerResponse addSimulatedAccount(HttpServletRequest request, @RequestParam(value = "agentId", required = false) Integer agentId, |
| | | @RequestParam("phone") String phone, |
| | | @RequestParam("accountType") Integer accountType, |
| | | @RequestParam("pwd") String pwd) { |
| | | return this.iUserService.addSimulatedAccount(agentId, phone, pwd, "0", accountType, request); |
| | | } |
| | | |
| | | @RequestMapping({"authByAdmin.do"}) |
| | |
| | | public ServerResponse delete(Integer userId, HttpServletRequest request) { |
| | | return this.iUserService.delete(userId, request); |
| | | } |
| | | |
| | | |
| | | } |