feat: id改identity

This commit is contained in:
ygx
2025-12-27 14:10:16 +08:00
parent 7a5fa1f4ea
commit 53cccfaa59
13 changed files with 44 additions and 44 deletions

View File

@@ -18,9 +18,9 @@ export const createProjectApi = async (data: object) => {
try {
const res = await http(RequestHttpEnum.POST)<{
/**
* 项目id
* 项目identity
*/
id: number
identity: number
}>(`${ModuleTypeEnum.PROJECT}/create`, data)
return res
} catch {

View File

@@ -1,8 +1,8 @@
export type ProjectItem = {
/**
* 项目 id
* 项目 identity
*/
id: string
identity: string
/**
* 项目名称
*/
@@ -22,7 +22,7 @@ export type ProjectItem = {
*/
indexImage: string
/**
* 创建者 id
* 创建者 identity
*/
createUserId: string
/**