From c496f0918af7685d5221030c11387e5260492078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Sun, 7 Jul 2024 09:28:28 +0800 Subject: [PATCH] 'commit' --- QingLong/WebRoot/AdminUploadImage.html | 206 --------- QingLong/WebRoot/ManageImg.html | 140 ------ QingLong/WebRoot/ManageImgImpl.html | 419 ------------------ .../QingLong/HuiYa/Model/HuiYaModel.java | 4 +- 4 files changed, 2 insertions(+), 767 deletions(-) delete mode 100644 QingLong/WebRoot/AdminUploadImage.html delete mode 100644 QingLong/WebRoot/ManageImg.html delete mode 100644 QingLong/WebRoot/ManageImgImpl.html diff --git a/QingLong/WebRoot/AdminUploadImage.html b/QingLong/WebRoot/AdminUploadImage.html deleted file mode 100644 index 00efb8c3..00000000 --- a/QingLong/WebRoot/AdminUploadImage.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - 图片上传示例 - - - - - -
-
-
- -
- -
-
-
-
- -
-
-
-
-
- 图片列表 -
-
-
-
-
-
-
- - - - - - \ No newline at end of file diff --git a/QingLong/WebRoot/ManageImg.html b/QingLong/WebRoot/ManageImg.html deleted file mode 100644 index 460b26d6..00000000 --- a/QingLong/WebRoot/ManageImg.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - 绘鸭AI相机演示效果图 - - - - - - - - - - - \ No newline at end of file diff --git a/QingLong/WebRoot/ManageImgImpl.html b/QingLong/WebRoot/ManageImgImpl.html deleted file mode 100644 index 0c22285e..00000000 --- a/QingLong/WebRoot/ManageImgImpl.html +++ /dev/null @@ -1,419 +0,0 @@ - - - - - 绘鸭AI相机演示效果图 - - - - - - -
-
- - - - - - \ No newline at end of file diff --git a/QingLong/src/main/java/com/dsideal/QingLong/HuiYa/Model/HuiYaModel.java b/QingLong/src/main/java/com/dsideal/QingLong/HuiYa/Model/HuiYaModel.java index 4edfd1fa..a46820b6 100644 --- a/QingLong/src/main/java/com/dsideal/QingLong/HuiYa/Model/HuiYaModel.java +++ b/QingLong/src/main/java/com/dsideal/QingLong/HuiYa/Model/HuiYaModel.java @@ -417,7 +417,7 @@ public class HuiYaModel { public String getImgByModelPrompt(int model_id, int prompt_id, boolean is_thumb) { String url = "http://hzkc.oss-cn-beijing.aliyuncs.com/Images/System/" + model_id + "/" + prompt_id + ".png"; - if (is_thumb) url += "?x-oss-process=image/resize,w_362,limit_0"; + if (is_thumb) url += "?x-oss-process=image/resize,w_512,limit_0"; return url; } @@ -425,7 +425,7 @@ public class HuiYaModel { Record r = new Record(); r.set("prompt_id", prompt_id); String img_url = "http://hzkc.oss-cn-beijing.aliyuncs.com/Images/System/" + model_id + "/" + prompt_id + ".png"; - r.set("img_url_thumb", img_url + "?x-oss-process=image/resize,w_362,limit_0" + "&r=" + UUID.randomUUID()); + r.set("img_url_thumb", img_url + "?x-oss-process=image/resize,w_512,limit_0" + "&r=" + UUID.randomUUID()); r.set("img_url", img_url); return r; }