mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-16 13:23:42 +00:00
feat: 代码优化
This commit is contained in:
@@ -84,7 +84,6 @@ public class SingleHttpClient {
|
||||
if (params != null) {
|
||||
String paramStr = EntityUtils.toString(new UrlEncodedFormEntity(params, Consts.UTF_8));
|
||||
httpGet = new HttpGet(url + "?" + paramStr);
|
||||
// System.out.println(url + "?" + paramStr);
|
||||
} else {
|
||||
httpGet = new HttpGet(url);
|
||||
}
|
||||
|
||||
@@ -292,9 +292,6 @@ public class CommonTools {
|
||||
sb.append(content.substring(lastStart));
|
||||
}
|
||||
if (sb.length() != 0) {
|
||||
System.out.println(EmojiParser.parseToUnicode(sb.toString()));
|
||||
System.out.println(EmojiParser.parseToAliases(EmojiParser.parseToUnicode(sb.toString())));
|
||||
System.out.println(EmojiParser.removeAllEmojis(sb.toString()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,6 @@ public class MD5Util {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(MD5Encrypt("wxwobot"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user