feat: 添加udm-voip/volte功能接口

This commit is contained in:
TsMask
2025-04-24 10:55:05 +08:00
parent cb1b0cde55
commit 081ef5c9cc
24 changed files with 2117 additions and 102 deletions

View File

@@ -24,7 +24,7 @@ func ConvertToStr(telnetClient *ConnTelnet, cmd string) (string, error) {
return str, nil
}
return "", fmt.Errorf(str)
return "", fmt.Errorf("%s", str)
}
// ConvertToMap 转换为map
@@ -41,7 +41,7 @@ func ConvertToMap(telnetClient *ConnTelnet, cmd string) (map[string]string, erro
if index != -1 {
output = output[:index]
}
return nil, fmt.Errorf(output)
return nil, fmt.Errorf("%s", output)
}
// 初始化一个map用于存储拆分后的键值对