blob: d65e0e6cfd418952494675a9896b4143f3702e74 [file] [log] [blame]
崔向南464e19d2025-06-05 17:46:27 +08001//如果需要定义 API 类型(如接口返回的用户信息、列表数据等),推荐:
2
3declare namespace API {
4 // 补充 Bounty 类型定义(根据实际接口返回字段调整)
5 export interface Bounty {
6 id: number;
7 title: string;
8 description: string;
9 reward: number;
10 deadline: string;
11 status: number; // 0-进行中,1-已完成,2-已关闭
12 creator_id: number;
13 }
14}