摘要: 一. 原生态接口 1. 从默认路由开始分析 在WebApiConfig.cs类中的Register方法中,我们可以看到默认路由如下: 分析:请求地址在 controller 前面需要加上 api/,controller后面没有action,最后有一个参数{id},webapi默认的路由规则就是一种R 阅读全文
posted @ 2019-01-08 08:17 Yaopengfei 阅读(3312) 评论(1) 推荐(2)