Merge branches 'feat/company-expire' and 'feat/platform-limit' into dev/2.0

Resolved conflicts:
- typings.d.ts: Keep both validity fields and platform quota fields in CompanyListItem
- company/Popup.tsx: Merge imports (Card, Col, Row from platform-limit + Dayjs from company-expire)
- company/index.tsx: Keep useAccess and Typography imports needed by company-expire
- rules/index.tsx: Keep validityStatus check from company-expire, adopt simplified clone button from platform-limit

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-07-29 20:38:13 +08:00
20 changed files with 410 additions and 178 deletions

View File

@@ -614,6 +614,12 @@ export async function closeSSEWithApi(options?: ObjType) {
});
}
export async function getPlatformList(options?: ObjType) {
return request("/system/platform-list", {
method: "GET",
...(options || {}),
});
}
export async function getDashboardTotal(options?: ObjType) {
return request("/dashboard/total", {
method: "GET",