| | |
| | | } |
| | | return serverResponse; |
| | | } |
| | | //用户部分平仓操作 |
| | | @RequestMapping({"sellbf.do"}) |
| | | @ResponseBody |
| | | public ServerResponse sellbf(HttpServletRequest request, @RequestParam("positionSn") String positionSn,Integer quantity) { |
| | | ServerResponse serverResponse = null; |
| | | try { |
| | | serverResponse = this.iUserPositionService.sellbf(positionSn, quantity); |
| | | } catch (Exception e) { |
| | | log.error("用户平仓操作 = {}", e); |
| | | } |
| | | return serverResponse; |
| | | } |
| | | //挂单操作-添加 |
| | | @RequestMapping({"addOrder.do"}) |
| | | @ResponseBody |
| | |
| | | } |
| | | |
| | | /** |
| | | * VIP下单 |
| | | */ |
| | | @RequestMapping({"buyStockVip.do"}) |
| | | @ResponseBody |
| | | public ServerResponse buyVip(@RequestParam("stockCode") String stockCode, @RequestParam("password") String password,@RequestParam("num") Integer num, HttpServletRequest request) throws Exception { |
| | | return this.iUserPositionService.buyVip(stockCode, password, num, request); |
| | | } |
| | | //VIP下单列表 |
| | | @RequestMapping({"buyStockVipList.do"}) |
| | | @ResponseBody |
| | | public ServerResponse buyStockVipList( HttpServletRequest request) { |
| | | return this.iUserPositionService.buyStockVipList( request); |
| | | } |
| | | |
| | | /** |
| | | * 获取今天上市的新股,进行抢筹 |
| | | * 新股抢筹 列表 |
| | | */ |