实名认证防抖
This commit is contained in:
@@ -151,7 +151,7 @@ public class AppController {
|
|||||||
@PostMapping(value = "/realNameAuth/v2")
|
@PostMapping(value = "/realNameAuth/v2")
|
||||||
@ApiOperation("实名认证")
|
@ApiOperation("实名认证")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@Debounce(interval = 3000, value = "#userId")
|
@Debounce(interval = 60000, value = "#auth.certNum")
|
||||||
public Result realNameAuth(@RequestAttribute("userId") Long userId, @RequestBody AuthDTO auth) {
|
public Result realNameAuth(@RequestAttribute("userId") Long userId, @RequestBody AuthDTO auth) {
|
||||||
return realNameAuth(userId, auth.getCertName(), auth.getCertNum(), auth.getAccountNo(), auth.getMobile());
|
return realNameAuth(userId, auth.getCertName(), auth.getCertNum(), auth.getAccountNo(), auth.getMobile());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user