| | |
| | | |
| | | @Autowired |
| | | ISiteAdminService iSiteAdminService; |
| | | @Autowired |
| | | IUserAssetsServices iUserAssetsServices; |
| | | |
| | | //查询指定代理信息 |
| | | @RequestMapping({"getAgentInfo.do"}) |
| | |
| | | return this.iUserPositionService.getIncome(agentId, positionType, beginTime, endTime); |
| | | } |
| | | |
| | | //查询首页充值,提现,注册统计 |
| | | @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({"getIndexIncome.do"}) |
| | | @ResponseBody |
| | |
| | | @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); |
| | | } |
| | | } |