feat: 首页调整

This commit is contained in:
caiyuchao
2025-07-15 19:47:39 +08:00
parent a2e42c62ad
commit d938a59d2b
3 changed files with 107 additions and 401 deletions

View File

@@ -16,6 +16,20 @@ export namespace CustomerApi {
email: string; // 邮箱
remark: string; // 备注
}
export interface Dashboard {
customerCount: number;
projectCount: number;
licenseCount: number;
userCount: number;
}
}
/** 查询首页详情 */
export function dashboard() {
return requestClient.get<CustomerApi.Dashboard>(
`/license/customer/dashboard`,
);
}
/** 查询客户分页 */