版本升级
This commit is contained in:
parent
ac03a6ec08
commit
b13eb11633
|
@ -1,10 +1,10 @@
|
|||
appId: com.electron.app.yc
|
||||
productName: 文枢课堂
|
||||
productName: 永川中小学AI教学系统
|
||||
directories:
|
||||
output: dist
|
||||
buildResources: build
|
||||
win:
|
||||
executableName: 文枢课堂
|
||||
executableName: 永川中小学AI教学系统
|
||||
icon: resources/yc-logo.png
|
||||
files:
|
||||
- '!**/.vscode/*'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "aix-win-ws",
|
||||
"version": "2.5.11",
|
||||
"version": "2.5.14",
|
||||
"description": "",
|
||||
"main": "./out/main/index.js",
|
||||
"author": "上海交大重庆人工智能研究院",
|
||||
|
|
|
@ -106,6 +106,18 @@ const getBackGroundV2 = async () => {
|
|||
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) => {
|
||||
try {
|
||||
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 };
|
||||
|
|
Loading…
Reference in New Issue