1
zj
2025-09-21 0b2d47ad50450876b3fd26db354e3021248da869
src/main/java/com/nq/controller/protol/UserController.java
@@ -108,6 +108,12 @@
        return this.iUserService.getMoney(request);
    }
    @RequestMapping("getWeeklyProfit.do")
    @ResponseBody
    public ServerResponse getWeeklyProfit( HttpServletRequest request) {
        return this.iUserService.getWeeklyProfit(request);
    }
    //查询用户自选股
    @RequestMapping({"queryMyOption.do"})
    @ResponseBody
@@ -162,9 +168,9 @@
    //一键用户平仓操作
    @RequestMapping({"allsell.do"})
    @ResponseBody
    public ServerResponse allsell(@RequestParam("stockType") String positionSn,HttpServletRequest request) {
    public ServerResponse allsell(HttpServletRequest request) {
        try {
            return this.iUserPositionService.allSell(request,positionSn);
            return this.iUserPositionService.allSell(request);
        } catch (Exception e) {
            return  ServerResponse.createByErrorMsg("Sell Fail",request);
        }