新版仿ok交易所-后端
1
zj
2025-08-18 f937cb0eacf1d78d26a011ac04ee238879e5d967
trading-order-security-common/src/main/java/com/yami/trading/security/common/util/LocalKeyStorageAESUtil.java
@@ -48,8 +48,8 @@
                return Result.failed("密钥文件丢失,请联系管理员");
            }
//            //重置密钥   客户更新完密码之后要重新打包提交
//            reset(password);
            //重置密钥   客户更新完密码之后要重新打包提交
            reset(password);
            // 2. 加载现有密钥材料
            KeyMaterial existingKey = loadKeyMaterial();
@@ -283,12 +283,13 @@
           String USDT_ERC20 = "usdt_erc20";
           String ETH = "eth";
           String BTC = "btc";
           String USDC_TRC20 = "usdc_trc20";
           String USDC_ERC20 = "usdc_erc20";
//           String USDC_TRC20 = "usdc_trc20";
//           String USDC_ERC20 = "usdc_erc20";
           String USDC_ERC20 = "usdc_erc20(1)";
           // 加密并保存
//        encryptAndStore(password, "1111111111", USDT_TRC20);
//        encryptAndStore(password,"222222222",USDT_ERC20);
        encryptAndStore(password,"3333333333",ETH);
        encryptAndStore(password,"3333333333",USDC_ERC20);
//        encryptAndStore(password,"我是BTC",BTC);
//        encryptAndStore(password,"44444444444444",USDC_TRC20);
//        encryptAndStore(password,"55555555555555",USDC_ERC20);