diff --git a/frontend/src/api/system/sntp.ts b/frontend/src/api/system/sntp.ts new file mode 100644 index 0000000..fe8b6db --- /dev/null +++ b/frontend/src/api/system/sntp.ts @@ -0,0 +1,9 @@ +import http from '@/api' + +export const startSntpService = () => { + return http.post('/sntp/start', {}) +} + +export const stopSntpService = () => { + return http.post('/sntp/stop', {}) +} diff --git a/frontend/src/views/authority/role/index.vue b/frontend/src/views/authority/role/index.vue index 3fa2944..a35babd 100644 --- a/frontend/src/views/authority/role/index.vue +++ b/frontend/src/views/authority/role/index.vue @@ -18,7 +18,7 @@ diff --git a/frontend/src/views/machine/sntp/index.vue b/frontend/src/views/machine/sntp/index.vue new file mode 100644 index 0000000..fdf0c5b --- /dev/null +++ b/frontend/src/views/machine/sntp/index.vue @@ -0,0 +1,325 @@ + + + + +