fix: IMS配置下发返回200无内容处理

This commit is contained in:
TsMask
2024-03-19 16:47:11 +08:00
parent 2c6c3ab756
commit 4c69616846

View File

@@ -69,6 +69,11 @@ func NeConfigOMC(neInfo model.NeInfo) (map[string]any, error) {
return nil, err
}
// 200 成功无数据时
if len(resBytes) == 0 {
return resData, nil
}
// 序列化结果
err = json.Unmarshal(resBytes, &resData)
if err != nil {