Commit 377a2267 authored by wux's avatar wux

bug299:处理重复提交的问题

parent 69f0afd7
......@@ -48,6 +48,7 @@ public class AppMessageLeaveController {
@PutMapping("/reply")
@ApiOperation("回复留言")
@PreAuthenticated
@Idempotent(timeout = 5)
public CommonResult<Boolean> reply(@Valid @RequestBody MessageLeaveReplyReqVO replyReqVO) {
replyReqVO.setReplyUserId(WebFrameworkUtils.getLoginUserId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment