feat: card list demo (#242)

This commit is contained in:
一万
2022-04-13 21:31:36 +08:00
committed by GitHub
parent 160db34fa0
commit c89620159a
19 changed files with 1021 additions and 3 deletions

12
src/api/list.ts Normal file
View 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 });
};