修改api接口返回错误内容解析错误
This commit is contained in:
1 parent
5a0a8d8c02
commit
6c955af70a
1 file changed
+2
-1
@@ -251,7 +251,8 @@ public class VirtualLogisticsApi : ISingletonDependency
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new Exception($"{res.Msg}:{res.Data["error"]?.ToString() ?? ""}");
|
_logger.Error($"API错误:{result.Html}");
|
||||||
|
throw new Exception($"{res.Msg}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
throw new Exception(result.Html);
|
throw new Exception(result.Html);
|
||||||
|
|||||||
Reference in new issue
Block a user