feat: 首页调整
This commit is contained in:
@@ -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`,
|
||||
);
|
||||
}
|
||||
|
||||
/** 查询客户分页 */
|
||||
|
||||
Reference in New Issue
Block a user