@RequestMapping中有关地址和参数的问题
@RequestMapping():请求名称定义,可带参数
不带参数传递:
@RequestMapping(“index”)
url=>http://localhost:8080/index
带参数请求:
@RequestMapping(“index/{id}/{password}”)
ur(Restful API)l=>http://localhost:8080/index
带参数请求:@RequestMapping(“index”)
...
原创
2021-05-07 20:27:21 ·
800 阅读 ·
0 评论