fix: UDM签约缺失rfsp和usagetype参数修改
This commit is contained in:
@@ -318,6 +318,12 @@ func (r *UDMSubUser) ParseCommandParams(item model.UDMSubUser) string {
|
|||||||
if item.CnTypeRestrictions != "" {
|
if item.CnTypeRestrictions != "" {
|
||||||
conditions = append(conditions, fmt.Sprintf("cn=%s", 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 != "" {
|
if item.MicoAllowed != "" {
|
||||||
conditions = append(conditions, fmt.Sprintf("mico=%s", item.MicoAllowed))
|
conditions = append(conditions, fmt.Sprintf("mico=%s", item.MicoAllowed))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user