fix: 系统时间同步样式修改 (#1123)

This commit is contained in:
ssongliu
2023-05-24 07:43:21 +00:00
committed by GitHub
parent b979c2574c
commit be6b7157f4
14 changed files with 268 additions and 143 deletions
+5 -9
View File
@@ -7878,7 +7878,7 @@ var doc = `{
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SyncTimeZone"
"$ref": "#/definitions/dto.SyncTime"
}
}
],
@@ -7893,11 +7893,10 @@ var doc = `{
"x-panel-log": {
"BeforeFuntions": [],
"bodyKeys": [
"ntpSite",
"timeZone"
"ntpSite"
],
"formatEN": "sync system time [ntpSite]-[timeZone]",
"formatZH": "系统时间同步[ntpSite]-[timeZone]",
"formatEN": "sync system time [ntpSite]",
"formatZH": "系统时间同步[ntpSite]",
"paramKeys": []
}
}
@@ -12621,14 +12620,11 @@ var doc = `{
}
}
},
"dto.SyncTimeZone": {
"dto.SyncTime": {
"type": "object",
"properties": {
"ntpSite": {
"type": "string"
},
"timeZone": {
"type": "string"
}
}
},
+5 -9
View File
@@ -7864,7 +7864,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/dto.SyncTimeZone"
"$ref": "#/definitions/dto.SyncTime"
}
}
],
@@ -7879,11 +7879,10 @@
"x-panel-log": {
"BeforeFuntions": [],
"bodyKeys": [
"ntpSite",
"timeZone"
"ntpSite"
],
"formatEN": "sync system time [ntpSite]-[timeZone]",
"formatZH": "系统时间同步[ntpSite]-[timeZone]",
"formatEN": "sync system time [ntpSite]",
"formatZH": "系统时间同步[ntpSite]",
"paramKeys": []
}
}
@@ -12607,14 +12606,11 @@
}
}
},
"dto.SyncTimeZone": {
"dto.SyncTime": {
"type": "object",
"properties": {
"ntpSite": {
"type": "string"
},
"timeZone": {
"type": "string"
}
}
},
+4 -7
View File
@@ -1694,12 +1694,10 @@ definitions:
required:
- id
type: object
dto.SyncTimeZone:
dto.SyncTime:
properties:
ntpSite:
type: string
timeZone:
type: string
type: object
dto.UpdateDescription:
properties:
@@ -8276,7 +8274,7 @@ paths:
name: request
required: true
schema:
$ref: '#/definitions/dto.SyncTimeZone'
$ref: '#/definitions/dto.SyncTime'
responses:
"200":
description: OK
@@ -8291,9 +8289,8 @@ paths:
BeforeFuntions: []
bodyKeys:
- ntpSite
- timeZone
formatEN: sync system time [ntpSite]-[timeZone]
formatZH: 系统时间同步[ntpSite]-[timeZone]
formatEN: sync system time [ntpSite]
formatZH: 系统时间同步[ntpSite]
paramKeys: []
/settings/update:
post: