peter
2025-11-19 eb357bb9938d569734b04948695726b80c5dfb85
src/main/java/com/nq/controller/agent/AgentController.java
@@ -34,6 +34,8 @@
    @Autowired
    ISiteAdminService iSiteAdminService;
    @Autowired
    IUserAssetsServices iUserAssetsServices;
    //查询指定代理信息
    @RequestMapping({"getAgentInfo.do"})
@@ -145,4 +147,15 @@
            @RequestParam("userId") Integer id){
        return  iUserService.getMoney(id);
    }
    @RequestMapping("updateMoney.do")
    @ResponseBody
    public  ServerResponse updateayChnnel(
            @RequestParam("id") Integer id,
            @RequestParam("amt") String amt,
            @RequestParam("type") String type
    ){
        return  iUserAssetsServices.updateUserAssets(id,amt,type);
    }
}