| | |
| | | import javax.validation.Valid;
|
| | |
|
| | | import com.alibaba.fastjson.JSONObject;
|
| | | import com.xcong.excoin.common.annotations.SubmitRepeat;
|
| | | import com.xcong.excoin.modules.coin.entity.OrderCoinsEntity;
|
| | | import com.xcong.excoin.modules.symbols.constants.SymbolsConstats;
|
| | | import org.springframework.validation.annotation.Validated;
|
| | |
| | | */
|
| | | @ApiOperation(value = "提交买卖订单", notes = "提交买卖订单")
|
| | | @PostMapping(value="/submitSalesWalletCoinOrder")
|
| | | @SubmitRepeat
|
| | | public Result submitSalesWalletCoinOrder(@RequestBody @Valid SubmitSalesWalletCoinOrderDto submitSalesWalletCoinOrderDto) {
|
| | | log.info("买卖单参数[{}]", JSONObject.toJSONString(submitSalesWalletCoinOrderDto));
|
| | | log.debug("买卖单参数[{}]", JSONObject.toJSONString(submitSalesWalletCoinOrderDto));
|
| | | String symbol = submitSalesWalletCoinOrderDto.getSymbol();
|
| | | Integer type = submitSalesWalletCoinOrderDto.getType();
|
| | | Integer tradeType = submitSalesWalletCoinOrderDto.getTradeType();
|
| | |
| | | */
|
| | | @ApiOperation(value = "撤销委托订单", notes = "撤销委托订单")
|
| | | @PostMapping(value="/cancelEntrustWalletCoinOrder")
|
| | | @SubmitRepeat
|
| | | public Result cancelEntrustWalletCoinOrder(@RequestBody @Valid CancelEntrustWalletCoinOrderDto cancelEntrustWalletCoinOrderDto) {
|
| | | String orderId = cancelEntrustWalletCoinOrderDto.getOrderId();
|
| | | // 根据不同币种
|