postMan里面url怎么写呢,测试接口

启动这个类

img


调用@RequestMapping("/factory")这个方法

img


怎么写

img

URL:http://localhost:{项目配置端口}/factory/page
其实就是Controller接口路径
假设是微服务项目,那么需要通过网关访问,这个另说

建议你先了解下spring mvc与HTTP协议