fix: UDM签约缺失rfsp和usagetype参数修改

This commit is contained in:
TsMask
2025-08-04 19:23:56 +08:00
parent 500ae6f79c
commit 5b37b3eab8

View File

@@ -318,6 +318,12 @@ func (r *UDMSubUser) ParseCommandParams(item model.UDMSubUser) string {
if item.CnTypeRestrictions != "" {
conditions = append(conditions, fmt.Sprintf("cn=%s", item.CnTypeRestrictions))
}
if item.RfspIndex != "" {
conditions = append(conditions, fmt.Sprintf("rfsp=%s", item.RfspIndex))
}
if item.UeUsageType != "" {
conditions = append(conditions, fmt.Sprintf("usagetype=%s", item.UeUsageType))
}
if item.MicoAllowed != "" {
conditions = append(conditions, fmt.Sprintf("mico=%s", item.MicoAllowed))
}