20260715221223
This commit is contained in:
1 parent
7049584d1e
commit
704dda07b5
21 files changed
+2649
-427
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import { post } from "./http";
|
||||
|
||||
export const authApi = {
|
||||
login(credentials) {
|
||||
return post("/api/auth/login", credentials);
|
||||
},
|
||||
};
|
||||
|
||||
export const dataApi = {
|
||||
loadData(params) {
|
||||
return post("/api/data/loaddata", params);
|
||||
},
|
||||
loadDataBySql(sql) {
|
||||
return post("/api/data/loaddatabysql", { sql });
|
||||
},
|
||||
page(params) {
|
||||
return post("/api/data/page", params);
|
||||
},
|
||||
saveObject(tables) {
|
||||
return post("/api/data/saveobjt", { tables });
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user