style: 优化注释
This commit is contained in:
@@ -28,8 +28,7 @@ func UDMImportAuth(udmIP string, data map[string]any) (string, error) {
|
||||
}
|
||||
|
||||
// 序列化结果
|
||||
err = json.Unmarshal(resBytes, &resData)
|
||||
if err != nil {
|
||||
if err = json.Unmarshal(resBytes, &resData); err != nil {
|
||||
logger.Errorf("UDMImportAuth Unmarshal %s", err.Error())
|
||||
return "", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user