项目数据保存修改
parent
5f7004b500
commit
a5df4ef617
|
|
@ -122,6 +122,7 @@ public class GoViewProjectApp : SqlSugarBaseApp<GoviewProject, SugarDbContext>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
data.Id = prjData.Id;
|
||||||
flag = await Repository
|
flag = await Repository
|
||||||
.ChangeRepository<SugarRepositiry<GoviewProjectData>>()
|
.ChangeRepository<SugarRepositiry<GoviewProjectData>>()
|
||||||
.AsUpdateable(data)
|
.AsUpdateable(data)
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ public class GoViewProjectController : ControllerBase
|
||||||
|
|
||||||
// 文件上传
|
// 文件上传
|
||||||
[HttpPost("uploadFile")]
|
[HttpPost("uploadFile")]
|
||||||
public async Task<Response<bool>> UploadFile(IFormFile file)
|
public async Task<Response<bool>> UploadFile(string base64Str)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
//return await _app.UploadFile(file);
|
//return await _app.UploadFile(file);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue