feat(filter): 更新应用版本过滤器白名单

- 在白名单中添加 webhook 接口
- 解决前端接口遗漏 App-Version 参数的问题
- 确保 iOS 打包重新审核期间接口正常访问
This commit is contained in:
曹鹏飞 2026-04-07 14:20:08 +08:00
parent 2cf145f982
commit 7a4c0d4655
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public class AppVersionFilter extends OncePerRequestFilter {
/** /**
* 因前端部分接口遗漏App-Version参数ios打包重新审核需要很久所以需要排除掉否则会导致接口无法访问 * 因前端部分接口遗漏App-Version参数ios打包重新审核需要很久所以需要排除掉否则会导致接口无法访问
*/ */
private static final Set<String> WHITE_LIST = Set.of("getTicket", "uploadSingleFile", "getInfoById", "hangUp", "exportPdf"); private static final Set<String> WHITE_LIST = Set.of("getTicket", "uploadSingleFile", "getInfoById", "hangUp", "exportPdf", "webhook");
private static final String MIN_SUPPER_VERSION = "1.0.9"; private static final String MIN_SUPPER_VERSION = "1.0.9";