feat: project list

This commit is contained in:
2025-09-06 01:44:33 +08:00
parent ef473d6084
commit 9b54d18ef3
11 changed files with 333 additions and 56 deletions

View File

@@ -0,0 +1,16 @@
import { net, type APIResponse } from "@shared";
import type { Project } from "./types";
class ProjectService {
async list() {
const { data } = await net.request<APIResponse<Project[]>>({
method: 'GET',
url: '/api/project/list',
})
return data;
}
}
export const projectService = new ProjectService();