1
0
This commit is contained in:
2023-10-13 14:31:50 +08:00
parent 169d0be5ee
commit 893fa92af4

View File

@@ -1768,3 +1768,44 @@ Example:
]
}
```
## 11 系统管理
### 11.1 OMC系统
#### 11.1.1 获取OMC时间接口
* Uri
```uri
/api/rest/systemManagement/v1/elementType/OMC/objectType/time
```
* Relations
OMC FE -> OMC BE
* Params
NA
* Method
GET
* Body
NA
* Return
```json
// OMC time 信息
type OMCLocalTime struct {
Timestamp int64 `json:"timestamp"` // 时间戳 (单位:毫秒)
TimeZone int `json:"timeZone"` // 本地时区偏移(单位:秒)
}
```
Expample:
```json
{
"data":
{
"timestamp": "1697101301164"
"timeZone": "28800"
}
}
```