linhw 2024-04-24 17:00:49 +08:00
parent 9832407b0a
commit 24807e717d
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ public class AppDynamicCommentController extends BaseController
*/
@RequiresPermissions("app:comment:add")
@Log(title = "动态评论", businessType = BusinessType.INSERT)
@PostMapping(value = "add")
@PostMapping(value = "/add")
@ApiOperation(value = "新增动态评论", notes = "新增动态评论", httpMethod = "POST")
public AjaxResult add(@RequestBody AppDynamicComment appDynamicComment)
{
@ -95,7 +95,7 @@ public class AppDynamicCommentController extends BaseController
*/
@RequiresPermissions("app:comment:edit")
@Log(title = "动态评论", businessType = BusinessType.UPDATE)
@PutMapping(value = "edit")
@PutMapping(value = "/edit")
@ApiOperation(value = "修改动态评论", notes = "修改动态评论", httpMethod = "PUT")
public AjaxResult edit(@RequestBody AppDynamicComment appDynamicComment)
{