From f06a592dd1a7e995bf313ccb5efe7dff73ccfc4e Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 12 四月 2023 18:25:52 +0800
Subject: [PATCH] 增加本地获取IP归属地/广告优化

---
 src/test/java/com/hxh/spring/test/DES.java |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/test/java/com/hxh/spring/test/DES.java b/src/test/java/com/hxh/spring/test/DES.java
index 77e642f..556c3c3 100644
--- a/src/test/java/com/hxh/spring/test/DES.java
+++ b/src/test/java/com/hxh/spring/test/DES.java
@@ -1,10 +1,21 @@
 package com.hxh.spring.test;
 
 import com.yeshi.buwan.util.DESUtil;
+import com.yeshi.buwan.util.FileUtil;
+import org.junit.Test;
+
+import java.io.IOException;
 
 public class DES {
-	@org.junit.Test
-	public void test1() {
-		String content = "iDp+mknN2urZPWPAdmBTv1ME3YqW7QwsTxe0hnynmQH+utoyj8ZggzXuO5BQNx/LZaJMsO+p530ojiuRKXMyQHMsBCbLU9AiTtXsqKAXHGNqTVeAvKTdRICRQjf2R/hIlhNeZmSTOMgZ7/RE40ohWMrdRTnWohCndZRg0YwTWQCF+nDmeoIVH1BVeNkGeEzz3GmpTES+2dyOnwV1pAJsa+hjLC2Z+KpqXc7RYD7pDJo8i38mb9dNTXIw69UWJqG0gB47YM49uKBGNwdlXqTLXnvA+zwWlfijHemd8bnlD8ow8RW3RqVoQeDvSKZscuU2MjV0DROXcsJi/KNduci91zZrnVmudkTgFY7ln6tmg2mbnufi6ZabJXoP+zbSNVctIDSXTHB7iYGx4f3cUfCucvLgzLiPOudPllVCFjfqhG4=";
-		System.out.println(DESUtil.decode(content)); }
+    @org.junit.Test
+    public void test1() {
+        String st = "iDp+mknN2urZPWPAdmBTv1ME3YqW7QwsYdyNZlGbD4OM41zjK4t7VF6W3TtXskAAKgHKl39hNukwNhMUNfS8M21fJsLuZLdUX4vMxG/vcfnVK/UzMgpLwgQA5AYOCg6VWB+hF/zZGV1dIP3MCdfoApdCu6L8R25es8r97ZM5ttxS7JLFjMHXNjV27aCWdsSk30wzjueSW7zJGnUPkP3ZxQIyIy/dNVXSGKyI1dFn2089VOBeOPZP9T0ZJPsob95qv7B2t7zUFDe5U94UL6rmVf2Gpo1fiyTNa8COHMXyLHBMz27Q5kvm+4TngTe5hzHaN+D9Svm3o0xJiMKFmvc6t9BoLPl1aSQh3FqVZL4fhzIZAA6K7SYODH1dMGf2m8tkr7vC/zPXrIt7AQeiqSiUyQxqQYKc7+ucEk5qnF1hK/cA4fHj7TznWIQFkzDPrr4PS1KPuiJ0SMZ9UGQSeWXAUMgoxOUvKSu9W4PzTlnqlsZvo72q94wZVhEzd0SIv2Fb7239DLpiNKb/FHyiv0P8uljlWITabTq0vIBR1cggUOshsCfGUeYLQY42eoKoE87RVoQg5cn7Ef8EksIkYzUo/yizLyFsqhmNYmMcd4bquAN9fNFLSAdIIx+s0kHj3YY+QE1GlFaPEFj1N8na4IukTPNmD1LEpsr1bUexIAiQMtBNEgAxHN51iRswCsZhynSjWaN/xEvYcxEISjfGOAP2d0uBwCe0yEuSbGvWACYEhXRl8EJj0KShaA==";
+        System.out.println(DESUtil.decode(st));
+    }
+
+    @Test
+    public void test2() throws IOException {
+        String text = FileUtil.readTxt("C:\\Users\\Administrator\\Desktop\\鍒囩墖缂撳瓨\\鏂板缓鏂囨湰鏂囨。.txt");
+        System.out.println(DESUtil.decode(text));
+    }
 }

--
Gitblit v1.8.0