1
zj
2025-05-27 7db8e7cd6fe90656deb4181e0ec354350d61428f
src/main/java/com/nq/controller/backend/AdminAgentController.java
@@ -14,6 +14,7 @@
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
@@ -65,6 +66,13 @@
    }
    //查询指数持仓统计信息
    @GetMapping({"getParensAgent.do"})
    @ResponseBody
    public ServerResponse getParensAgent() {
        return this.iAgentUserService.getParensAgent();
    }
    //查询指数持仓统计信息
    @RequestMapping({"getIndexIncome.do"})
    @ResponseBody
    public ServerResponse getIndexIncome(@RequestParam(value = "agentId", required = false) Integer agentId, @RequestParam(value = "positionType", required = false) Integer positionType, @RequestParam(value = "beginTime", required = false) String beginTime, @RequestParam(value = "endTime", required = false) String endTime, HttpServletRequest request) {