From 955227562285dd86e4356fbfbe9d9250d65436a3 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 16 一月 2023 19:09:22 +0800 Subject: [PATCH] 1 --- ExportMap/Controllers/ExportController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ExportMap/Controllers/ExportController.cs b/ExportMap/Controllers/ExportController.cs index 43dd131..711aec2 100644 --- a/ExportMap/Controllers/ExportController.cs +++ b/ExportMap/Controllers/ExportController.cs @@ -34,7 +34,7 @@ string imgPath = ExportUtil.Generate(args, ref err); if (string.IsNullOrEmpty(imgPath)) { - return ResponseMsg<string>.fail(err); + return ResponseMsg<string>.fail(null == err ? "鐢熸垚澶辫触" : err); } return ResponseMsg<string>.success("鎴愬姛", imgPath); -- Gitblit v1.9.3