feat: 基站状态补充randId字段信息

This commit is contained in:
TsMask
2025-10-23 14:13:25 +08:00
parent cae8ca4b0e
commit 765209c133
9 changed files with 131 additions and 88 deletions

View File

@@ -1064,6 +1064,7 @@ func PostNBInfoFromNF(w http.ResponseWriter, r *http.Request) {
Name string `json:"name" `
Position string `json:"position" `
NbName string `json:"nbName" `
RanId int64 `json:"ranId" `
State string `json:"state" ` // "OFF" or "ON"
OffTime string `json:"offTime" ` //if State=OFF, will set it
OnTime string `json:"onTime" ` //if State=ON , will set it
@@ -1108,6 +1109,7 @@ func PostNBInfoFromNF(w http.ResponseWriter, r *http.Request) {
Name: v.Name,
Position: v.Position,
NbName: v.NbName,
NbId: v.RanId,
State: v.State,
Time: timeStr,
})