新增小工具页面、SNTP对时功能集成到小工具页面
This commit is contained in:
@@ -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', {})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user