From 4e201651d4a5ca76b66faba9e00f5ee2f9ae484f Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 20 十一月 2024 15:27:54 +0800 Subject: [PATCH] 1 --- src/assets/js/middleGround/api/app.js | 27 +++++++++++++++++---------- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/assets/js/middleGround/api/app.js b/src/assets/js/middleGround/api/app.js index f7edc50..cf11cec 100644 --- a/src/assets/js/middleGround/api/app.js +++ b/src/assets/js/middleGround/api/app.js @@ -1,22 +1,29 @@ -import request from "@/plugin/axios/index.ts"; +import request from '@/plugin/axios/index.ts' const appApi = { // 鑾峰彇鐢ㄦ埛娑堟伅鍒楄〃 getAppMessageList(data) { return request({ - url: "/app/api/ApiGetAppMessageList", - method: "post", + url: '/app/api/ApiGetAppMessageList', + method: 'post', data - }); + }) }, // 鑾峰彇鐢ㄦ埛娑堟伅璇︽儏 getMessage(data) { return request({ - url: "/app/api/ApiGetMessage", - method: "post", + url: '/app/api/ApiGetMessage', + method: 'post', data - }); + }) }, + // ai璇嗗埆鍥剧墖涓殑鍏紡 + getLatexFormulaFromImage(data) { + return request({ + url: '/ai/api/GetLatexFormulaFromImage', + method: 'post', + data + }) + } +} -}; - -export default appApi; +export default appApi -- Gitblit v1.9.1