Commit 2efe88a1 authored by zhangfeng's avatar zhangfeng

feat-523: 降低积分规则请求幂等超时时间

parent 89f910cb
...@@ -40,7 +40,7 @@ public class AppScoreRuleController { ...@@ -40,7 +40,7 @@ public class AppScoreRuleController {
@PostMapping("/get") @PostMapping("/get")
@ApiOperation("客户端获得积分规则详情") @ApiOperation("客户端获得积分规则详情")
@Idempotent(timeout = 5) @Idempotent(timeout = 1)
public CommonResult<AppScoreRuleBackDetailVO> getScoreRule(@Valid @RequestBody IdReqVo idReqVo) { public CommonResult<AppScoreRuleBackDetailVO> getScoreRule(@Valid @RequestBody IdReqVo idReqVo) {
AppScoreRuleBackDetailVO scoreRuleBackDetailVO = scoreRuleService.appGetScoreRule(idReqVo.getId()); AppScoreRuleBackDetailVO scoreRuleBackDetailVO = scoreRuleService.appGetScoreRule(idReqVo.getId());
return success(scoreRuleBackDetailVO); return success(scoreRuleBackDetailVO);
...@@ -48,7 +48,7 @@ public class AppScoreRuleController { ...@@ -48,7 +48,7 @@ public class AppScoreRuleController {
@PostMapping("/list") @PostMapping("/list")
@ApiOperation("客户端获得积分规则列表") @ApiOperation("客户端获得积分规则列表")
@Idempotent(timeout = 5) @Idempotent(timeout = 1, message = "页面加载中")
public CommonResult<List<AppScoreRuleListBackVO>> getScoreRuleList(@Valid @RequestBody AppScoreRuleListReqVO reqVO) { public CommonResult<List<AppScoreRuleListBackVO>> getScoreRuleList(@Valid @RequestBody AppScoreRuleListReqVO reqVO) {
List<AppScoreRuleListBackVO> list = scoreRuleService.appGetScoreRuleList(reqVO); List<AppScoreRuleListBackVO> list = scoreRuleService.appGetScoreRuleList(reqVO);
return success(list); return success(list);
......
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