feat(admin): complete integration of auth, delivery, and system infrastructure modules

This commit is contained in:
comlibmb
2026-02-18 23:30:39 +08:00
parent 7b27694690
commit 5d00e3d74e
37 changed files with 2830 additions and 1075 deletions

View File

@@ -0,0 +1,22 @@
import { rpcOrNull } from '@/services/analytics/rpc.uts'
/**
* 系统信息模型
*/
export type SystemInfo = {
server_os : string
web_server : string
db_engine : string
db_version : string
uts_runtime : string
auth_id : string
}
/**
* 获取服务器及系统环境信息
*/
export async function fetchSystemInfo() : Promise<SystemInfo | null> {
const res = await rpcOrNull('rpc_admin_get_system_info', {} as UTSJSONObject)
if (res == null) return null
return res as SystemInfo
}