From a5df4ef61741760091502c002bf7739d444e1a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BC=9F?= <421281095@qq.com> Date: Wed, 15 Jan 2025 15:09:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=95=B0=E6=8D=AE=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OpenAuth.App/ServiceApp/GoView/GoViewProjectApp.cs | 1 + .../Controllers/ServiceControllers/GoView/GoViewController.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenAuth.App/ServiceApp/GoView/GoViewProjectApp.cs b/OpenAuth.App/ServiceApp/GoView/GoViewProjectApp.cs index 00983bd..e299b9e 100644 --- a/OpenAuth.App/ServiceApp/GoView/GoViewProjectApp.cs +++ b/OpenAuth.App/ServiceApp/GoView/GoViewProjectApp.cs @@ -122,6 +122,7 @@ public class GoViewProjectApp : SqlSugarBaseApp } else { + data.Id = prjData.Id; flag = await Repository .ChangeRepository>() .AsUpdateable(data) diff --git a/OpenAuth.WebApi/Controllers/ServiceControllers/GoView/GoViewController.cs b/OpenAuth.WebApi/Controllers/ServiceControllers/GoView/GoViewController.cs index 1be1c71..ae5e5d5 100644 --- a/OpenAuth.WebApi/Controllers/ServiceControllers/GoView/GoViewController.cs +++ b/OpenAuth.WebApi/Controllers/ServiceControllers/GoView/GoViewController.cs @@ -23,7 +23,7 @@ public class GoViewProjectController : ControllerBase // 文件上传 [HttpPost("uploadFile")] - public async Task> UploadFile(IFormFile file) + public async Task> UploadFile(string base64Str) { return null; //return await _app.UploadFile(file);