From 2f52429c476e7c9e85623cbae953b1f73aaae6b9 Mon Sep 17 00:00:00 2001 From: luzhaofeng <574317128@qq.com> Date: Fri, 8 Nov 2019 09:43:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=81=E5=B8=81=E6=A8=A1=E5=9D=97-=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E7=94=A8=E6=88=B7=E8=AE=A4=E8=AF=81=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=20=E6=B3=95=E5=B8=81=E6=A8=A1=E5=9D=97-=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=AE=A4=E8=AF=81=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/cct/service/impl/MatchServiceImpl.java | 6 +++--- .../cct/service/impl/PublishOrderServiceImpl.java | 12 ++++++------ .../otc/service/impl/MarketApplyServiceImpl.java | 12 ++++++------ .../server/otc/service/impl/OrderServiceImpl.java | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/MatchServiceImpl.java b/blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/MatchServiceImpl.java index ba48cb1..ad4abff 100644 --- a/blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/MatchServiceImpl.java +++ b/blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/MatchServiceImpl.java @@ -46,8 +46,8 @@ public class MatchServiceImpl implements MatchService, ITxTransaction { private ConfigService configService; @Autowired private MatchConfigService matchConfigService; - @Autowired - private CommissionService commissionService; +// @Autowired +// private CommissionService commissionService; @Autowired private PublishOrderMapper orderMapper; @Autowired @@ -462,7 +462,7 @@ public class MatchServiceImpl implements MatchService, ITxTransaction { } //生成佣金 - commissionService.generateCommission(order.getUserId(), recordId, serviceCharge, getCoin); +// commissionService.generateCommission(order.getUserId(), recordId, serviceCharge, getCoin); } /*** diff --git a/blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/PublishOrderServiceImpl.java b/blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/PublishOrderServiceImpl.java index 3e81c35..95333d4 100644 --- a/blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/PublishOrderServiceImpl.java +++ b/blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/PublishOrderServiceImpl.java @@ -36,8 +36,8 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact private WalletService walletService; @Autowired private PublishOrderMapper publishOrderMapper; - @Autowired - private UserFeign userFeign; +// @Autowired +// private UserFeign userFeign; @Autowired private CheckConfigUtil checkConfigUtil; @Autowired @@ -69,7 +69,7 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact checkLimitPrice(paramDTO.getUnitPrice(), coin.getCoinName(), coin.getUnitName()); //用户是否有权限交易 - userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); +// userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); //校验密码 walletService.isPassword(paramDTO.getPass()); @@ -112,7 +112,7 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact checkLimitPrice(paramDTO.getUnitPrice(), coin.getCoinName(), coin.getUnitName()); //用户是否有交易权限 - userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); +// userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); //校验密码 walletService.isPassword(paramDTO.getPass()); @@ -198,7 +198,7 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact checkPublishDecimal(paramDTO.getTurnover(), coin.getUnitDecimals(), CctEnums.ORDER_TURNOVER_ERROR); //用户是否有权限交易 - userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); +// userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); //校验密码 walletService.isPassword(paramDTO.getPass()); @@ -229,7 +229,7 @@ public class PublishOrderServiceImpl implements PublishOrderService, ITxTransact checkPublishDecimal(paramDTO.getTotalNum(), coin.getCoinDecimals(), CctEnums.ORDER_NUM_ERROR); //用户是否有权限交易 - userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); +// userFeign.hasLowAuthAndUserList(paramDTO.getUserId()); //校验密码 walletService.isPassword(paramDTO.getPass()); diff --git a/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java b/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java index 68db0fa..2debd24 100644 --- a/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java +++ b/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java @@ -40,8 +40,8 @@ public class MarketApplyServiceImpl implements MarketApplyService { private BillService billService; @Autowired private AdService adService; - @Autowired - private UserFeign userFeign; +// @Autowired +// private UserFeign userFeign; //保证金固定为CNY private static final String UNIT_NAME = "CNY"; @@ -188,10 +188,10 @@ public class MarketApplyServiceImpl implements MarketApplyService { * @param applyType */ private void checkUserHighAuth(String userId, String applyType) { - if (applyType.equals(MarketApplyConstants.MARKET)) { - //判断用户是否通过高级认证 - userFeign.hasHighAuthAndUserList(userId); - } +// if (applyType.equals(MarketApplyConstants.MARKET)) { + //判断用户是否通过高级认证 +// userFeign.hasHighAuthAndUserList(userId); +// } } /*** diff --git a/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/OrderServiceImpl.java b/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/OrderServiceImpl.java index 8aa1b77..7cb0209 100644 --- a/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/OrderServiceImpl.java +++ b/blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/OrderServiceImpl.java @@ -358,7 +358,7 @@ public class OrderServiceImpl implements OrderService, ITxTransaction { //检查参数是否为空 checkDealParam(amount, price, turnover, adId); //用户是否有权限交易 - userFeign.hasLowAuthAndUserList(userId); +// userFeign.hasLowAuthAndUserList(userId); } /***