fix: UDM签约设置static_ip字段

This commit is contained in:
TsMask
2023-09-12 18:01:46 +08:00
parent d4cfb6297a
commit ea01504e6c
2 changed files with 2 additions and 0 deletions

View File

@@ -812,6 +812,7 @@ func (s *UdmUserApi) UdmSubUserEdit(w http.ResponseWriter, r *http.Request) {
if body.SmData != "" {
msg += fmt.Sprintf(",sm_data=%s", body.SmData)
}
msg += fmt.Sprintf(",static_ip=%s", body.StaticIp)
// 发送MML
data, err := mmlclient.MMLSendMsgToString(neInfo.Ip, msg)