版本升级

This commit is contained in:
朱浩 2025-01-06 14:51:20 +08:00
parent ac03a6ec08
commit b13eb11633
3 changed files with 16 additions and 4 deletions

View File

@ -1,10 +1,10 @@
appId: com.electron.app.yc appId: com.electron.app.yc
productName: 文枢课堂 productName: 永川中小学AI教学系统
directories: directories:
output: dist output: dist
buildResources: build buildResources: build
win: win:
executableName: 文枢课堂 executableName: 永川中小学AI教学系统
icon: resources/yc-logo.png icon: resources/yc-logo.png
files: files:
- '!**/.vscode/*' - '!**/.vscode/*'

View File

@ -1,6 +1,6 @@
{ {
"name": "aix-win-ws", "name": "aix-win-ws",
"version": "2.5.11", "version": "2.5.14",
"description": "", "description": "",
"main": "./out/main/index.js", "main": "./out/main/index.js",
"author": "上海交大重庆人工智能研究院", "author": "上海交大重庆人工智能研究院",

View File

@ -106,6 +106,18 @@ const getBackGroundV2 = async () => {
throw error; throw error;
} }
}; };
const createOutlineV2 = async (data) => {
try {
const response = await req("/api/aipptV2/createOutlineV2", "POST", data);
console.log("createOutline response:", response);
return response.data;
} catch (error) {
console.error("请求失败:", error);
throw error;
}
};
const createPPTV2 = async (data) => { const createPPTV2 = async (data) => {
try { try {
const response = await req("/api/aipptV2/createV2", "POST", data); const response = await req("/api/aipptV2/createV2", "POST", data);
@ -127,4 +139,4 @@ const getProgressV2 = async (id) => {
} }
}; };
export { createOutline, getBackGround, createPPT, getProgress, getBackGroundV2, createPPTV2, getProgressV2, createByOutline }; export { createOutline, getBackGround, createPPT, getProgress, getBackGroundV2, createOutlineV2, createPPTV2, getProgressV2, createByOutline };