1 changed files with 13 additions and 1 deletions
@ -1,4 +1,16 @@
|
||||
# demo-controller-register |
||||
|
||||
spring的controller在插件中引入的demo\ |
||||
AnnotationServer中注释部分的代码因为接口本身还有些缺陷,暂时无法使用 |
||||
AnnotationServer中注释部分的代码因为接口本身还有些缺陷,暂时无法使用\ |
||||
假设 host = webroot/decision\ |
||||
访问 host/hello/world 响应 Hello World\ |
||||
访问 host/usr/info/Anna 响应 网页标题Hello Anna 内容:Name:Anna\ |
||||
访问 host/usr/info/Anna/base?key=hello 响应 一个JSON字符串\ |
||||
访问 POST host/usr/info/Anna/base body=上一个响应的json字符串 响应跟body相同\ |
||||
访问 host/usr/info/Anna/redirect?key=hello 重定向到http://localhost:8075/webroot/decision?key=hello\ |
||||
访问 host/sv1/value 响应 Server1 Is Running!\ |
||||
访问 host/sv2/value 响应 Server2 Is Running!\ |
||||
访问 host/annotation/info/visit/refer\ |
||||
响应: @VisitRefer注解根据模块权限进行切面鉴权。没有用户管理权限的用户是看不到这个信息的\ |
||||
访问 host/fine/path/variable/124%E4%B7%84%E4%B7%85ESD/124ASD \ |
||||
响应: 一个包含特殊字符的JSON字符串 |
||||
|
Loading…
Reference in new issue