mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-01 14:46:37 +08:00
feat:新增pure-admin前端
This commit is contained in:
14
Yi.Pure.Vue3/src/api/list.ts
Normal file
14
Yi.Pure.Vue3/src/api/list.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { http } from "@/utils/http";
|
||||
|
||||
type Result = {
|
||||
success: boolean;
|
||||
data?: {
|
||||
/** 列表数据 */
|
||||
list: Array<any>;
|
||||
};
|
||||
};
|
||||
|
||||
/** 卡片列表 */
|
||||
export const getCardList = (data?: object) => {
|
||||
return http.request<Result>("post", "/get-card-list", { data });
|
||||
};
|
||||
Reference in New Issue
Block a user