币币模块-关闭用户认证校验

法币模块-关闭用户认证校验
pull/1/head
luzhaofeng 5 years ago
parent 8248a1d530
commit 2f52429c47
  1. 6
      blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/MatchServiceImpl.java
  2. 12
      blockchain-server/blockchain-server-cct/src/main/java/com/blockchain/server/cct/service/impl/PublishOrderServiceImpl.java
  3. 12
      blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/MarketApplyServiceImpl.java
  4. 2
      blockchain-server/blockchain-server-otc/src/main/java/com/blockchain/server/otc/service/impl/OrderServiceImpl.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);
}
/***

@ -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());

@ -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);
// }
}
/***

@ -358,7 +358,7 @@ public class OrderServiceImpl implements OrderService, ITxTransaction {
//检查参数是否为空
checkDealParam(amount, price, turnover, adId);
//用户是否有权限交易
userFeign.hasLowAuthAndUserList(userId);
// userFeign.hasLowAuthAndUserList(userId);
}
/***

Loading…
Cancel
Save