feat(filter): 更新应用版本过滤器白名单
- 在白名单中添加 webhook 接口 - 解决前端接口遗漏 App-Version 参数的问题 - 确保 iOS 打包重新审核期间接口正常访问
This commit is contained in:
parent
2cf145f982
commit
7a4c0d4655
|
|
@ -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";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue