diff --git a/ZR.Admin.WebApi/ZR.Admin.WebApi.csproj b/ZR.Admin.WebApi/ZR.Admin.WebApi.csproj index a2ab5f5..140ad7d 100644 --- a/ZR.Admin.WebApi/ZR.Admin.WebApi.csproj +++ b/ZR.Admin.WebApi/ZR.Admin.WebApi.csproj @@ -13,12 +13,16 @@ + + + + diff --git a/ZR.Admin.WebApi/appsettings.json b/ZR.Admin.WebApi/appsettings.json index 67078bd..1e55f82 100644 --- a/ZR.Admin.WebApi/appsettings.json +++ b/ZR.Admin.WebApi/appsettings.json @@ -51,7 +51,7 @@ "sqlExecutionTime": 5, //Sql执行时间超过多少秒记录日志并警报 "Upload": { "uploadUrl": "http://localhost:8888", //本地存储资源访问路径 - "localSavePath": "", //本地上传默认文件存储目录 wwwroot + "localSavePath": "file", //本地上传默认文件存储目录 wwwroot "maxSize": 15, //上传文件大小限制 15M "notAllowedExt": [ ".bat", ".exe", ".jar", ".js" ], "requestLimitSize": 50 //请求body大小限制 diff --git a/ZR.Admin.WebApi/wwwroot/file/2025/0818/417443ccaa63c138.jpg b/ZR.Admin.WebApi/wwwroot/file/2025/0818/417443ccaa63c138.jpg new file mode 100644 index 0000000..2e12b90 Binary files /dev/null and b/ZR.Admin.WebApi/wwwroot/file/2025/0818/417443ccaa63c138.jpg differ