1
0

fix: docs

This commit is contained in:
2023-11-20 17:22:01 +08:00
parent 378415ea72
commit 62b5603a61
6 changed files with 63 additions and 14 deletions

Binary file not shown.

View File

@@ -1769,6 +1769,66 @@ Example:
} }
``` ```
### 10.6 N3IWF在线用户信息
#### 10.6.1 查询N3IWF在线用户信息
说明为了避免在线用户太多N3IWF可做限制如返回不超过100条
* Uri
```uri
/api/rest/ueManagement/v1/elementType/n3iwf/objectType/ueInfo?imsi={imsi}&msisdn={msisdn}&neId={neId}
```
* Relations
OMC -> IMS
* Params
* OMC-FE -> OMC-BE, neId={neId}, 指定IMS的neId
* OMC -> IMS, imsi={imsi} 可选如果都不指定则查询全部ueInfo
* Method
GET
* Body
NA
* Return
```json
// N3iwfUEInfo N3IWF在线用户信息
type N3iwfUEInfo struct {
IMSI string `json:"imsi"`
NAI string `json:"nai"`
RegState int `json:"regState"`
Activetime string `json:"activeTime"`
}
type N3iwfUEData struct {
Data []N3iwfUEInfo `json:"data"`
}
```
```json
{
"data": [
{
"imsi": "460000100000010",
"nai": "",
"regState": 1,
"activeTime": "2023-07-11 18:26:46"
},
{
"imsi": "460000100000011",
"nai": "",
"regState": 1,
"activeTime": "2023-07-11 18:26:46"
}
]
}
```
## 11 系统管理 ## 11 系统管理
### 11.1 OMC系统 ### 11.1 OMC系统

Binary file not shown.

View File

@@ -2,17 +2,6 @@
--- ---
### 1. Diagram of OMC database
![1700190137798](image/07-5GCOMCDatabaseDiagrams/1700190137798.png)
### 1. Relationship of menu, account, account_menu, title_info
![1679033737734](image/database/1679033737734.png)
通过多表联合查询可一次性获取某个账号的目录结果:
example, acouunt name='manager', lang-key='cn'
```sql
SELECT m.id, json_unquote(json_extract(t.title_json, '$.en')) as title, m.parent_id, m.sort_id FROM title_info t, menu m WHERE m.id IN (SELECT am.menu_id FROM account_menu am WHERE am.account_id = (SELECT id FROM account WHERE name='manager')) AND m.title_id = t.id ORDER BY m.id
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 KiB

BIN
docs/omc_db.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 KiB