upload project source code
This commit is contained in:
21
后端源码/yifan.action-ai.cn/index/js/ai_config.CJOBnb2u.js
Normal file
21
后端源码/yifan.action-ai.cn/index/js/ai_config.CJOBnb2u.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import{l as e}from"./index.CjKO7M_A.js";const t="/application/ai/provider",a={
|
||||
// 列表查询
|
||||
list:a=>e({url:`${t}/list`,method:"get",params:a}),
|
||||
// 详情查询
|
||||
detail:a=>e({url:`${t}/detail/${a}`,method:"get"}),
|
||||
// 新增
|
||||
create:a=>e({url:`${t}/create`,method:"post",data:a}),
|
||||
// 修改
|
||||
update:(a,d)=>e({url:`${t}/update/${a}`,method:"put",data:d}),
|
||||
// 删除
|
||||
delete:a=>e({url:`${t}/delete`,method:"delete",data:a})},d="/application/ai/embedding",l={
|
||||
// 列表查询
|
||||
list:t=>e({url:`${d}/list`,method:"get",params:t}),
|
||||
// 详情查询
|
||||
detail:t=>e({url:`${d}/detail/${t}`,method:"get"}),
|
||||
// 新增
|
||||
create:t=>e({url:`${d}/create`,method:"post",data:t}),
|
||||
// 修改
|
||||
update:(t,a)=>e({url:`${d}/update/${t}`,method:"put",data:a}),
|
||||
// 删除
|
||||
delete:t=>e({url:`${d}/delete`,method:"delete",data:t})};export{a as A,l as E};
|
||||
Reference in New Issue
Block a user