新增小工具页面、SNTP对时功能集成到小工具页面

This commit is contained in:
caozehui
2026-06-08 08:46:29 +08:00
parent 27b593ba01
commit 0423de2683
6 changed files with 793 additions and 403 deletions

View File

@@ -1,5 +1,15 @@
import http from '@/api'
export interface SntpTimeMessage {
type: string
deviceIp?: string
computerTime?: string
deviceTime?: string
computerTimestampMs?: number
deviceTimestampMs?: number
errorMs?: number
}
export const startSntpService = () => {
return http.post('/sntp/start', {})
}