| | |
| | | package com.nq.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.nq.common.ServerResponse; |
| | | import com.nq.pojo.User; |
| | | import com.nq.pojo.UserPositionCheckDz; |
| | | import com.nq.service.*; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | return this.iStockService.getIndicesAndKData(pid, stockType); |
| | | } |
| | | |
| | | /** |
| | | * 查询盘前交易数据 |
| | | * 只返回当前时间在交易时间内的盘前数据,返回code和price两个字段 |
| | | */ |
| | | @RequestMapping("getPremarketStock.do") |
| | | @ResponseBody |
| | | public ServerResponse getPremarketStock() { |
| | | return this.iStockService.getPremarketStock(); |
| | | } |
| | | |
| | | } |