From 226c4d835ca40c47d87e4de317f24525cd238ec2 Mon Sep 17 00:00:00 2001 From: akl7777777 Date: Mon, 25 Sep 2023 12:59:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=87=E7=94=A81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/info.json | 2 +- src/space1.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/info.json b/src/info.json index fd56b43..c2eb42d 100644 --- a/src/info.json +++ b/src/info.json @@ -1,6 +1,6 @@ { "identifier": "com.akl.bob-plugin-akl-chatgpt-free-translate", - "version": "2.0.1", + "version": "2.0.2", "category": "translate", "name": "Free ChatGPT", "summary": "免秘钥免启动任何服务调用ChatGPT", diff --git a/src/space1.js b/src/space1.js index 0161199..83ab744 100644 --- a/src/space1.js +++ b/src/space1.js @@ -28,7 +28,7 @@ async function translate(query, source_lang, target_lang, translate_text, comple const L = Date.now(); const resp = await $http.request({ method: "POST", - url: random_safe('aHR0cHM6Ly9lbmRsZXNzLWNoYXQubmV0bGlmeS5hcHAvYXBpL2dlbmVyYXRl'), + url: random_safe('aHR0cHM6Ly9lMy5mcmVjaGF0Lnh5ei9hcGkvZ2VuZXJhdGU='), body: { messages: A, time: L, @@ -91,7 +91,7 @@ async function digestMessage(r) { async function generateSignature(r) { const {t: e, m: t} = r; const n = {}.PUBLIC_SECRET_KEY; - const a = `${e}:${t}:PLEASE use https://forward.free-chat.asia/v1/chat/completion for free!!! Don't steal my money, thank you! Docs at https://forward.free-chat.asia/redoc`; + const a = `${e}:${t}:PLEASE use https://forward.free-chat.asia/v1/chat/completion for free if you want!!! Don't steal my money, thank you! Docs at https://forward.free-chat.asia/redoc`; const rs = await digestMessage(a); $log.error('==========' + rs) return rs;