From d18442eeb0b13b633c4146b85198211f4014b2d1 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 18 Nov 2020 14:42:32 +0800
Subject: [PATCH] modify
---
src/main/java/com/xcong/excoin/modules/coin/controller/Trc20Controller.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/coin/controller/Trc20Controller.java b/src/main/java/com/xcong/excoin/modules/coin/controller/Trc20Controller.java
index 9a39cde..312bbf5 100644
--- a/src/main/java/com/xcong/excoin/modules/coin/controller/Trc20Controller.java
+++ b/src/main/java/com/xcong/excoin/modules/coin/controller/Trc20Controller.java
@@ -53,7 +53,7 @@
@Transactional(rollbackFor = Exception.class)
public Result rechargeTrcAmount(@RequestBody TrcRechargeDto trcRechargeDto) {
log.info("传入参数 : {}", trcRechargeDto);
- String sign = SecureUtil.md5(trcRechargeDto.getNum() + trcRechargeDto.getNum().toPlainString() + CoinTypeEnum.USDT.name() + trcRechargeDto.getType() + TRC20ApiUtils.SIGN_STR);
+ String sign = SecureUtil.md5(trcRechargeDto.getUid() + trcRechargeDto.getNum().toPlainString() + CoinTypeEnum.USDT.name() + trcRechargeDto.getType() + TRC20ApiUtils.SIGN_STR);
if (!sign.equals(trcRechargeDto.getKey())) {
return Result.fail("参数错误");
}
--
Gitblit v1.9.1