Skip to content

Commit

Permalink
更改HttpPost路由为默认路由
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyunchong committed May 25, 2024
1 parent e771b84 commit 3c6b7c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LinCms.Web/Controllers/Cms/UserController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public JsonResult Get()
/// </summary>
/// <param name="userInput"></param>
[Logger("管理员新建了一个用户")]
[HttpPost("register")]
[HttpPost]
[Authorize(Roles = LinGroup.Admin)]
public async Task<UnifyResponseDto> CreateAsync([FromBody] CreateUserDto userInput)
{
Expand Down

0 comments on commit 3c6b7c1

Please sign in to comment.