This commit is contained in:
tanghc
2020-10-29 15:01:29 +08:00
parent 3cef44dc96
commit 8e833c295f
3 changed files with 17 additions and 1 deletions

View File

@@ -38,6 +38,15 @@ public class TraditionalWebappController {
请求前缀将变成:`http://ip:port/aaa/`
- 关闭restful功能
如果不想用该功能,在配置文件指定:
```properties
# 开启restful请求默认开启
sop.restful.enable=false
```
- 封装请求工具【可选】
封装请求方便调用针对vue的封装如下