fix 调整

This commit is contained in:
cheche
2024-01-26 15:35:25 +08:00
parent d435004a97
commit 40c655c9ff
2 changed files with 14 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
using Dlhis.Common.Request;
using Dlhis.Common.Response;
using Dlhis.Entity.Common;
using Kurisu.AspNetCore.Utils.Extensions;
using Kurisu.SqlSugar.Services;
using Mapster;
using Microsoft.AspNetCore.Mvc;
@@ -73,7 +74,7 @@ public class ApkFIileService : IApkFIileService
{
//上传
var completeFilePath = FormSingleFileUpload(request.formFile);
if (completeFilePath == "No file uploaded")
if (completeFilePath == "No file uploaded" || completeFilePath.IsEmpty())
{
return null;
}