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] =?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) // })