2
0

fix:终端设备界面信息增加字段修改

This commit is contained in:
zhongzm
2025-01-16 20:45:33 +08:00
parent a9a6fd9b88
commit 0b20cec9bd
4 changed files with 177 additions and 13 deletions

View File

@@ -217,6 +217,37 @@ export function getDashboardSiteList(params: { pageNum: number; pageSize: number
params
});
}
/** 获取KYC审核列表 */
export function fetchKycList(params: Api.Kyc.KycParams) {
return request<Api.Kyc.KycResponse>({
url: '/system/kyc/page',
method: 'get',
params
});
}
/** KYC审核通过 */
export function approveKyc(id: string, userId: number) {
return request<any>({
url: `/system/kyc/approve`,
method: 'put',
data: { id, userId }
});
}
/** KYC审核拒绝 */
export function rejectKyc(id: string, userId: number, reason: string) {
return request<any>({
url: `/system/kyc/reject`,
method: 'put',
data: {
id,
userId,
description: reason
}
});
}