修改api接口返回错误内容解析错误

This commit is contained in:
chfei committed 2026-09-25 17:59:32 +08:00
1 parent 5a0a8d8c02
commit 6c955af70a
1 file changed
+2 -1
@@ -251,7 +251,8 @@ public class VirtualLogisticsApi : ISingletonDependency
}
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);