mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-05 10:05:33 +08:00
v3.8.1发布,上传前端代码
This commit is contained in:
46
jeecgboot-vue3/src/views/super/airag/ocr/AiOcr.api.ts
Normal file
46
jeecgboot-vue3/src/views/super/airag/ocr/AiOcr.api.ts
Normal file
@ -0,0 +1,46 @@
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { Modal } from 'ant-design-vue';
|
||||
|
||||
export enum Api {
|
||||
list = '/airag/ocr/list',
|
||||
add = '/airag/ocr/add',
|
||||
edit = '/airag/ocr/edit',
|
||||
deleteById = '/airag/ocr/deleteById',
|
||||
flowRun = '/airag/flow/run',
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询ocr列表
|
||||
*
|
||||
* @param params
|
||||
*/
|
||||
export const list = (params) => {
|
||||
return defHttp.get({ url: Api.list, params });
|
||||
};
|
||||
|
||||
/**
|
||||
* 添加Orc
|
||||
* @param params
|
||||
* @param handleSuccess
|
||||
*/
|
||||
export const addOcr = (params) => {
|
||||
return defHttp.post({ url: Api.add, params });
|
||||
};
|
||||
|
||||
/**
|
||||
* 编辑Orc
|
||||
* @param params
|
||||
* @param handleSuccess
|
||||
*/
|
||||
export const editOcr = (params) => {
|
||||
return defHttp.put({ url: Api.edit, params });
|
||||
};
|
||||
|
||||
/**
|
||||
* 根据id删除 Orc
|
||||
* @param params
|
||||
* @param handleSuccess
|
||||
*/
|
||||
export const deleteOcrById = (params) => {
|
||||
return defHttp.delete({ url: Api.deleteById, params });
|
||||
};
|
||||
Reference in New Issue
Block a user