feat: 初始提交

This commit is contained in:
siujamo
2025-12-25 16:12:01 +08:00
commit faff32475f
77 changed files with 6123 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import webClient from "@/service/web-client"
import type { QueryPositionRequest } from "@/types/web/request"
import type { PageResponse } from "@/types/web/response"
import type { Position } from "@/types/entity"
export async function fetchPositions(request: QueryPositionRequest): Promise<PageResponse<Position>> {
const { data } = await webClient.get<PageResponse<Position>>("/positions")
return data
}