easyapi个性化配置easyapi-config-rule
实例:需要统一屏蔽从token获取的用户id(requestAttribute),可以添加如下配置:
param.ignore=userId
需要保证参数名为userId,例:
@GetMapping
public ResultEntity test(@RequestAttribute Long userId){}
easyapi个性化配置easyapi-config-rule
实例:需要统一屏蔽从token获取的用户id(requestAttribute),可以添加如下配置:
param.ignore=userId
需要保证参数名为userId,例:
@GetMapping
public ResultEntity test(@RequestAttribute Long userId){}