bugfix: 解决参数过长问题

DataMaintenance
陈伟 2025-02-21 15:04:03 +08:00
parent 9e480eecbf
commit b04445734c
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ public class GoViewProjectController : ControllerBase
/// <param name="mainPage"></param>
/// <returns></returns>
[HttpPost("mainPage/set")]
public Response<bool> SetMainPage(string mainPage)
public Response<bool> SetMainPage([FromBody] string mainPage)
{
var result = new Response<bool>();
try