| | |
| | | //添加用户管理 账户信息 |
| | | @RequestMapping({"addSimulatedAccount.do"}) |
| | | @ResponseBody |
| | | public ServerResponse addSimulatedAccount(HttpServletRequest request,@RequestParam("agentId") 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("agentId") Integer agentId, |
| | | @RequestParam("phone") String phone, |
| | | @RequestParam("accountType") Integer accountType, |
| | | @RequestParam("pwd") String pwd) { |
| | | return this.iUserService.addSimulatedAccount(agentId, phone, pwd, "0", accountType, request); |
| | | } |
| | | |
| | | //查询股票统计指定时间内,代理客户(已平仓)的交易盈亏 |
| | |
| | | @RequestParam("userId") Integer id){ |
| | | return iUserService.getMoney(id); |
| | | } |
| | | |
| | | |
| | | //查询首页充值,提现,注册统计 |
| | | @RequestMapping({"moneyCount.do"}) |
| | | @ResponseBody |
| | | public ServerResponse moneyCount(@RequestParam(value = "agentId", required = false) String agentId,@RequestParam(value = "startTime", required = false) String startTime,@RequestParam(value = "entTime", required = false) String entTime) { |
| | | return this.iSiteAdminService.moneyCount(agentId,startTime,entTime); |
| | | } |
| | | |
| | | //查询代理总资金 |
| | | @RequestMapping({"totalAgencyFunds.do"}) |
| | | @ResponseBody |
| | | public ServerResponse totalAgencyFunds(@RequestParam(value = "agentId", required = false) String agentId) { |
| | | return this.iSiteAdminService.totalAgencyFunds(agentId); |
| | | } |
| | | |
| | | } |