| | |
| | | import javax.annotation.Resource;
|
| | | import javax.validation.Valid;
|
| | |
|
| | | import org.springframework.validation.annotation.Validated;
|
| | | import org.springframework.web.bind.annotation.GetMapping;
|
| | | import org.springframework.web.bind.annotation.PostMapping;
|
| | | import org.springframework.web.bind.annotation.RequestBody;
|
| | |
| | |
|
| | | import com.xcong.excoin.common.response.Result;
|
| | | import com.xcong.excoin.modules.coin.parameter.dto.CancelEntrustWalletCoinOrderDto;
|
| | | import com.xcong.excoin.modules.coin.parameter.dto.FindAllWalletCoinOrderDto;
|
| | | import com.xcong.excoin.modules.coin.parameter.dto.FindCollectDto;
|
| | | import com.xcong.excoin.modules.coin.parameter.dto.SubmitSalesWalletCoinOrderDto;
|
| | | import com.xcong.excoin.modules.coin.parameter.vo.FindCollectListVo;
|
| | |
| | | import com.xcong.excoin.modules.coin.parameter.vo.OrderWalletCoinListVo;
|
| | | import com.xcong.excoin.modules.coin.parameter.vo.TransactionPageOfWalletCoinVo;
|
| | | import com.xcong.excoin.modules.coin.service.OrderCoinService;
|
| | | import com.xcong.excoin.modules.contract.parameter.dto.OrderListDto;
|
| | |
|
| | | import io.swagger.annotations.Api;
|
| | | import io.swagger.annotations.ApiImplicitParam;
|
| | |
| | | @ApiOperation(value = "进入交易页面", notes = "进入交易页面")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = TransactionPageOfWalletCoinVo.class)})
|
| | | @ApiImplicitParams({
|
| | | @ApiImplicitParam(name = "symbol", value = "币种", required = true, dataType = "String", paramType="query"),
|
| | | @ApiImplicitParam(name = "type", value = "买入卖出类型1:买入,2:卖出", required = true, dataType = "String", paramType="query")
|
| | | @ApiImplicitParam(name = "symbol", value = "币种", required = true, dataType = "String", paramType="query")
|
| | | })
|
| | | @GetMapping(value = "/enterTransactionPageOfWalletCoin")
|
| | | public Result enterTransactionPageOfWalletCoin(String symbol,String type) {
|
| | | return orderCoinService.enterTransactionPageOfWalletCoin(symbol,type);
|
| | | public Result enterTransactionPageOfWalletCoin(String symbol) {
|
| | | return orderCoinService.enterTransactionPageOfWalletCoin(symbol);
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | */
|
| | | @ApiOperation(value = "获取币币交易历史订单信息", notes = "获取币币交易历史订单信息")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = OrderWalletCoinDealListVo.class)})
|
| | | @GetMapping(value = "/findAllWalletCoinOrder")
|
| | | public Result findAllWalletCoinOrder() {
|
| | | return orderCoinService.findAllWalletCoinOrder();
|
| | | @PostMapping(value="/findAllWalletCoinOrder")
|
| | | public Result findAllWalletCoinOrder(@RequestBody @Validated FindAllWalletCoinOrderDto findAllWalletCoinOrderDto) {
|
| | | return orderCoinService.findAllWalletCoinOrder(findAllWalletCoinOrderDto);
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | return orderCoinService.findCollectList();
|
| | | }
|
| | |
|
| | | /**
|
| | | * 币种搜索
|
| | | * @return
|
| | | */
|
| | | @ApiOperation(value = "币种搜索", notes = "币种搜索")
|
| | | @GetMapping(value = "/searchSymbolResultList")
|
| | | public Result searchSymbolResultList() {
|
| | | return orderCoinService.searchSymbolResultList();
|
| | | }
|
| | | |
| | | }
|