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);