feat: id改identity
This commit is contained in:
@@ -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 {
|
||||
|
||||
6
src/api/path/project.d.ts
vendored
6
src/api/path/project.d.ts
vendored
@@ -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
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user