PC-202403201522\Administrator
2024-05-13 865eeb5d1b4d883ba9a70b64e4f8e3e4d271ce4d
src/main/java/com/nq/controller/agent/AgentController.java
@@ -82,8 +82,8 @@
    //添加用户管理 账户信息
    @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, accountType, request);
    }
    //查询股票统计指定时间内,代理客户(已平仓)的交易盈亏
@@ -130,4 +130,12 @@
        }
        return this.iAgentUserService.updateOnlineServices(onLineServices,agentId);
    }
    @RequestMapping("getMoney.do")
    @ResponseBody
    public  ServerResponse getMoney(
            @RequestParam("userId") Integer id){
        return  iUserService.getMoney(id);
    }
}