PC-202403201522\Administrator
2024-05-13 865eeb5d1b4d883ba9a70b64e4f8e3e4d271ce4d
src/main/java/com/nq/controller/protol/UserController.java
@@ -4,6 +4,7 @@
import com.google.common.collect.Maps;
import com.nq.common.ServerResponse;
import com.nq.enums.EStockType;
import com.nq.pojo.ApplyLever;
import com.nq.pojo.StockSubscribe;
import com.nq.pojo.UserStockSubscribe;
import com.nq.service.*;
@@ -56,6 +57,9 @@
    @Autowired
    IUserRechargeService iUserRechargeService;
    @Autowired
    IApplyLeverServices iApplyLeverServices;
    //添加到自选股
    @RequestMapping({"addOption.do"})
@@ -349,5 +353,10 @@
        return ServerResponse.createBySuccess(rateServices.currencyRate(EStockType.getEStockTypeByCode(stockCode), EStockType.getEStockTypeByCode(toType)));
    }
    @RequestMapping({"applyLever.do"})
    @ResponseBody
    public ServerResponse applyLever(ApplyLever applyLever, HttpServletRequest request) {
        return iApplyLeverServices.applyLever(applyLever,request);
    }
}