From b43422f389e8f9eaed561b85e893b9bebf50af1e Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Mon, 21 Oct 2024 10:41:43 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=94=9F=E6=88=90PPT=E7=A7=98=E9=92=A5?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- package.json | 2 +- src/renderer/src/utils/ppt-request.js | 4 ++-- src/renderer/src/views/prepare/container/ai-ppt.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env.production b/.env.production index 05e26a6..e103054 100644 --- a/.env.production +++ b/.env.production @@ -18,4 +18,4 @@ VITE_APP_RES_FILE_PATH = 'https://prev.ysaix.com:7868/src/assets/textbook/booktx VITE_APP_BUILD_BASE_PATH = 'https://prev.ysaix.com:7868/' -VITE_SHOW_DEV_TOOLS = 'true' +VITE_SHOW_DEV_TOOLS = 'false' diff --git a/package.json b/package.json index 9e2f9f6..c22a1f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aix-win", - "version": "2.1.14", + "version": "2.1.15", "description": "", "main": "./out/main/index.js", "author": "example.com", diff --git a/src/renderer/src/utils/ppt-request.js b/src/renderer/src/utils/ppt-request.js index e456d75..ccfc55f 100644 --- a/src/renderer/src/utils/ppt-request.js +++ b/src/renderer/src/utils/ppt-request.js @@ -3,8 +3,8 @@ import { getSignature } from "./index"; import { ElMessage } from "element-plus"; import request from '@/utils/request' -let appId = "01ec9aa3"; -let secret = "M2QxMDAxMjYyYTEzODMwMGRkZTQ4NmUy"; +let appId = "a3c84da2"; +let secret = "OTZkZDdhNDQ4MDk0NTZiYjcyY2RjZmYz"; let timestamp = Math.floor(Date.now() / 1000); let signature = getSignature(appId, secret, timestamp); let req = (url, type, data)=>{ diff --git a/src/renderer/src/views/prepare/container/ai-ppt.vue b/src/renderer/src/views/prepare/container/ai-ppt.vue index cefe091..f8cdc12 100644 --- a/src/renderer/src/views/prepare/container/ai-ppt.vue +++ b/src/renderer/src/views/prepare/container/ai-ppt.vue @@ -620,7 +620,7 @@ const changeCursor = (cursorStyle) => { }; onMounted(() => { - // let url = "https://bjcdn.openstorage.cn/xinghuo-privatedata/%2Ftmp/apiTempFiledf28bf990a4c40ffb7477ed4b65392c27232357022409613439/%E3%80%8A%E9%9D%99%E5%A5%B3%E3%80%8B%E6%B7%B1%E5%BA%A6%E8%A7%A3%E8%AF%BB%E4%B8%8E%E7%A0%94%E7%A9%B6.pptx" + // let url = "https://bjcdn.openstorage.cn/xinghuo-privatedata/%2Ftmp/apiTempFileba724e0344f74e1480535eedf3ebec661601807661085006275/%E9%87%91%E9%A9%AC%E5%A5%96%E5%B0%B4%E5%B0%AC%E4%BA%8B%E4%BB%B6%E5%88%86%E6%9E%90%E4%B8%8E%E5%BA%94%E5%AF%B9%E7%AD%96%E7%95%A5.pptx" // creatAIPPT(props.currentNode.itemtitle + '.pptx',url, props.uploadData).then((res) => { // emit('addSuccess',res) // }) -- 2.44.0.windows.1 From 810a734fa5872c69453ad78f92d29d6615d537bb Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Mon, 21 Oct 2024 17:21:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=B8=8A=E8=AF=BEAPT=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=8C=E5=8E=BB=E9=99=A4=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/renderer/src/layout/components/Header.vue | 2 +- src/renderer/src/views/prepare/container/class-start.vue | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index c22a1f3..a989976 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "aix-win", - "version": "2.1.15", + "version": "2.1.16", "description": "", "main": "./out/main/index.js", - "author": "example.com", + "author": "上海交大重庆人工智能研究院", "homepage": "https://electron-vite.org", "scripts": { "format": "prettier --write .", diff --git a/src/renderer/src/layout/components/Header.vue b/src/renderer/src/layout/components/Header.vue index 6b3e875..a01a158 100644 --- a/src/renderer/src/layout/components/Header.vue +++ b/src/renderer/src/layout/components/Header.vue @@ -33,7 +33,7 @@