webAPI

postman调试地址:http://localhost:49461/api/contract/getContractToBeRead?domainId=1&budgetYear=2&flag=3

http://localhost:49461/:运行之后浏览器的地址

 [RoutePrefix("api/contract")]:类的路由

[Route("getContractToBeRead")]:方法的路由
[HttpGet]

 

webAPI

上一篇:cmakelist windows 创建和调用 动态库,静态库


下一篇:Windows2012访问慢