风采增加删除功能
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
冯辉
2026-07-07 21:20:37 +08:00
parent 8236050546
commit 0e17534c55
5 changed files with 127 additions and 8 deletions

View File

@@ -11,14 +11,20 @@ export interface ShowcaseReviewItem {
reviewTime?: string;
createTime: string;
updateTime?: string;
/** JOIN app_user 查询字段 */
userName?: string; // 用户名称
userType?: string; // '0'=企业, '1'=求职者, '2'=网格员, '3'=政府人员
userPhone?: string; // 手机号码
}
/** 风采审核列表查询参数 */
export interface ShowcaseReviewListParams {
current?: number;
pageSize?: number;
bussinessid?: number;
reviewStatus?: string;
userName?: string;
userType?: string;
userPhone?: string;
}
/** 风采审核操作参数 */

View File

@@ -161,3 +161,10 @@ export async function getShowcaseFileList(userId: number) {
});
}
/** 删除我的风采文件 DELETE /app/file/{id} */
export async function deleteShowcaseFile(id: number) {
return request(`/app/file/${id}`, {
method: 'DELETE',
});
}