reset H5 pwd

This commit is contained in:
daZongZi
2025-08-04 16:48:17 +08:00
parent e649a912de
commit f3a0963599
4 changed files with 11 additions and 9041 deletions

View File

@@ -116,19 +116,20 @@ public class CrmebUtil {
// System.out.println(encryptPassword("123456", "admin")); // System.out.println(encryptPassword("123456", "admin"));
// System.out.println(decryptPassowrd("", "")); // System.out.println(decryptPassowrd("", ""));
String key = "123456"; // String key = "123456";
String data = "中国123ABCabc"; // String data = "中国123ABCabc";
System.out.println("原始数据:" + data); // System.out.println("原始数据:" + data);
String encryptPassword = encryptPassword(data, key); // String encryptPassword = encryptPassword(data, key);
System.out.println("加密结果:" + encryptPassword); // System.out.println("加密结果:" + encryptPassword);
String decryptPassowrd = decryptPassowrd(encryptPassword, key); // String decryptPassowrd = decryptPassowrd(encryptPassword, key);
System.out.println("解密结果:" + decryptPassowrd); // System.out.println("解密结果:" + decryptPassowrd);
// 执行结果如下: // 执行结果如下:
// 原始数据中国123ABCabc // 原始数据中国123ABCabc
// 加密结果5JNGj04iE/XUuTZM75zMrA== // 加密结果5JNGj04iE/XUuTZM75zMrA==
// 解密结果中国123ABCabc // 解密结果中国123ABCabc
System.out.println(encryptPassword("crmeb@123456", "18292417675")); // System.out.println(encryptPassword("Crmeb_123456", "18292417675"));
System.out.println(decryptPassowrd("c7Nwx1WsDdewbab2TlkpUg==", "18292417675"));
// 执行结果f6mcpGQ8NEmwbab2TlkpUg== // 执行结果f6mcpGQ8NEmwbab2TlkpUg==
// 与 SQL 中的数据一致 // 与 SQL 中的数据一致
} }

View File

File diff suppressed because one or more lines are too long

View File

@@ -3,7 +3,7 @@
Source Server : Source Server :
admin 123456 admin 123456
h5: 18292417675 crmeb@123456 h5: 18292417675 Crmeb_123456
*/ */
@@ -9239,7 +9239,7 @@ CREATE TABLE `eb_user` (
-- ---------------------------- -- ----------------------------
-- Records of eb_user -- Records of eb_user
-- ---------------------------- -- ----------------------------
INSERT INTO `eb_user` VALUES (41, '18292417675', 'f6mcpGQ8NEmwbab2TlkpUg==', '', '', '', '测试账号', NULL, '2', '1', '夏至已至', 'crmebimage/public/user/2025/06/21/04836fd050dd4476894588752106c4c910ieo2imm1.png', '18292417675', '', '', 987944.58, 0.00, 4977, 12015, 1, 1, 7, 0, NULL, 'h5', 1, 35, 0, '陕西西安', 0, '', '2025-05-21 18:31:35', '2025-06-24 11:02:08', '2025-06-24 11:02:07', NULL, '/0/', 0, NULL, 0, 'CN', '2025-05-21 18:41:00', 0, NULL); INSERT INTO `eb_user` VALUES (41, '18292417675', 'c7Nwx1WsDdewbab2TlkpUg==', '', '', '', '测试账号', NULL, '2', '1', '夏至已至', 'crmebimage/public/user/2025/06/21/04836fd050dd4476894588752106c4c910ieo2imm1.png', '18292417675', '', '', 987944.58, 0.00, 4977, 12015, 1, 1, 7, 0, NULL, 'h5', 1, 35, 0, '陕西西安', 0, '', '2025-05-21 18:31:35', '2025-06-24 11:02:08', '2025-06-24 11:02:07', NULL, '/0/', 0, NULL, 0, 'CN', '2025-05-21 18:41:00', 0, NULL);
-- ---------------------------- -- ----------------------------
-- Table structure for eb_user_address -- Table structure for eb_user_address