global filter 的demo示例
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
hugh 605cbbed7e 修复BUG 4 years ago
lib 提交demo代码 4 years ago
src/main/java/com/tptj/demo/hg/global/filter 修复BUG 4 years ago
README.md 补齐测试用例 4 years ago
build.gradle 提交demo代码 4 years ago
encrypt.xml 提交demo代码 4 years ago
plugin.xml 提交demo代码 4 years ago

README.md

demo-global-request-filter

global filter 的demo示例
Demo示例简单展示了该接口的最基本的用法
日志显示sort 1,path=xxx,ip=ddd则接口生效
SedDemo示例用于指明多个global filter接口的执行顺序
如果输出的日志顺序是以下的顺序说明执行顺序正确
sort 1,path=xxx,ip=ddd
sort 2,path=xxx,ip=ddd
ErrorDemo示例则展示了该接口的错误用法
访问webroot/decision/error/demo 返回 This Is A Error Demo! 表示插件运行正常