mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
feat: card list demo (#242)
This commit is contained in:
12
src/api/list.ts
Normal file
12
src/api/list.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { http } from "../utils/http";
|
||||
|
||||
interface postType extends Promise<any> {
|
||||
data?: object;
|
||||
code?: number;
|
||||
msg?: string;
|
||||
}
|
||||
|
||||
// 卡片列表
|
||||
export const getCardList = (data?: object): postType => {
|
||||
return http.request("post", "/getCardList", { data });
|
||||
};
|
||||
Reference in New Issue
Block a user