From 00db489ee40f7702491d6590949f7c50fd7db26a Mon Sep 17 00:00:00 2001 From: lhxcccccccccc <3302269842@qq.com> Date: Tue, 4 Jun 2024 17:34:11 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20selerverless=E5=AE=98=E7=BD=91?= =?UTF-8?q?=E9=9C=80=E6=B1=82=EF=BC=9Asearch=E6=8E=A5=E5=8F=A3=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=94=B9=E4=B8=BAv3=E6=90=9C=E7=B4=A2api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/URL.js | 2 + search.html | 234 +++++++++++++++++---------- utils/_Get.js | 26 +++ utils/_Post.js | 24 +++ utils/renderTpl.js | 6 + vendors/art-template/template-web.js | 3 + 6 files changed, 207 insertions(+), 88 deletions(-) create mode 100644 config/URL.js create mode 100644 utils/_Get.js create mode 100644 utils/_Post.js create mode 100644 utils/renderTpl.js create mode 100644 vendors/art-template/template-web.js diff --git a/config/URL.js b/config/URL.js new file mode 100644 index 0000000..3566fed --- /dev/null +++ b/config/URL.js @@ -0,0 +1,2 @@ +var BASE_V2_URL = 'https://registry.devsapp.cn' +var BASE_V3_URL = 'https://api.devsapp.cn/v3' \ No newline at end of file diff --git a/search.html b/search.html index 7c429df..8a5fec4 100644 --- a/search.html +++ b/search.html @@ -335,9 +335,84 @@