|
|
@ -36,8 +36,8 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact |
|
|
|
private WalletService walletService; |
|
|
|
private WalletService walletService; |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private PublishOrderMapper publishOrderMapper; |
|
|
|
private PublishOrderMapper publishOrderMapper; |
|
|
|
@Autowired |
|
|
|
// @Autowired
|
|
|
|
private UserFeign userFeign; |
|
|
|
// private UserFeign userFeign;
|
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private CheckConfigUtil checkConfigUtil; |
|
|
|
private CheckConfigUtil checkConfigUtil; |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
@ -69,7 +69,7 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact |
|
|
|
checkLimitPrice(paramDTO.getUnitPrice(), coin.getCoinName(), coin.getUnitName()); |
|
|
|
checkLimitPrice(paramDTO.getUnitPrice(), coin.getCoinName(), coin.getUnitName()); |
|
|
|
|
|
|
|
|
|
|
|
//用户是否有权限交易
|
|
|
|
//用户是否有权限交易
|
|
|
|
userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); |
|
|
|
// userFeign.hasLowAuthAndUserList(paramDTO.getUserId());
|
|
|
|
//校验密码
|
|
|
|
//校验密码
|
|
|
|
walletService.isPassword(paramDTO.getPass()); |
|
|
|
walletService.isPassword(paramDTO.getPass()); |
|
|
|
|
|
|
|
|
|
|
@ -112,7 +112,7 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact |
|
|
|
checkLimitPrice(paramDTO.getUnitPrice(), coin.getCoinName(), coin.getUnitName()); |
|
|
|
checkLimitPrice(paramDTO.getUnitPrice(), coin.getCoinName(), coin.getUnitName()); |
|
|
|
|
|
|
|
|
|
|
|
//用户是否有交易权限
|
|
|
|
//用户是否有交易权限
|
|
|
|
userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); |
|
|
|
// userFeign.hasLowAuthAndUserList(paramDTO.getUserId());
|
|
|
|
//校验密码
|
|
|
|
//校验密码
|
|
|
|
walletService.isPassword(paramDTO.getPass()); |
|
|
|
walletService.isPassword(paramDTO.getPass()); |
|
|
|
|
|
|
|
|
|
|
@ -198,7 +198,7 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact |
|
|
|
checkPublishDecimal(paramDTO.getTurnover(), coin.getUnitDecimals(), CctEnums.ORDER_TURNOVER_ERROR); |
|
|
|
checkPublishDecimal(paramDTO.getTurnover(), coin.getUnitDecimals(), CctEnums.ORDER_TURNOVER_ERROR); |
|
|
|
|
|
|
|
|
|
|
|
//用户是否有权限交易
|
|
|
|
//用户是否有权限交易
|
|
|
|
userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); |
|
|
|
// userFeign.hasLowAuthAndUserList(paramDTO.getUserId());
|
|
|
|
//校验密码
|
|
|
|
//校验密码
|
|
|
|
walletService.isPassword(paramDTO.getPass()); |
|
|
|
walletService.isPassword(paramDTO.getPass()); |
|
|
|
|
|
|
|
|
|
|
@ -229,7 +229,7 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact |
|
|
|
checkPublishDecimal(paramDTO.getTotalNum(), coin.getCoinDecimals(), CctEnums.ORDER_NUM_ERROR); |
|
|
|
checkPublishDecimal(paramDTO.getTotalNum(), coin.getCoinDecimals(), CctEnums.ORDER_NUM_ERROR); |
|
|
|
|
|
|
|
|
|
|
|
//用户是否有权限交易
|
|
|
|
//用户是否有权限交易
|
|
|
|
userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); |
|
|
|
// userFeign.hasLowAuthAndUserList(paramDTO.getUserId());
|
|
|
|
//校验密码
|
|
|
|
//校验密码
|
|
|
|
walletService.isPassword(paramDTO.getPass()); |
|
|
|
walletService.isPassword(paramDTO.getPass()); |
|
|
|
|
|
|
|
|
|
|
|