服务端添加一个webhook通用的调试免登接口,主要是打印数据,和校验webhook是否有生效用的
This commit is contained in:
1 parent
285d08b00d
commit
3ca5ff43ea
2 files changed
+90
No files matched your search
@@ -146,6 +146,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
// 租赁商户及节点另用四域HMAC认证;绝不共用支付MD5签名。
|
||||
.antMatchers("/api/rental/v1/**", "/node/v1/socket").permitAll()
|
||||
.antMatchers("/api/telegram/webhook").permitAll()
|
||||
// 通用回调调试入口,仅接收并记录数据,不执行任何业务操作。
|
||||
.antMatchers("/api/webhook/debug").permitAll()
|
||||
.antMatchers("/system/demoUsdt/**").permitAll()
|
||||
.anyRequest().authenticated()
|
||||
.and()
|
||||
|
||||
Reference in new issue
Block a user