1、在resource文件夹 的
application.properties 添加
#spring boot 端口设置
server.port=8081
#spring boot 默认的 context-path
server.context-path= /test
测试路径:
127.0.0.1:8081/test/mybaits/selectAll
1、在resource文件夹 的
application.properties 添加
#spring boot 端口设置
server.port=8081
#spring boot 默认的 context-path
server.context-path= /test
测试路径:
127.0.0.1:8081/test/mybaits/selectAll