摘要:
ProductController.cs 可以根据用户类型分别显示商品价格,可以在类中修改 C \ region 商品价格 public virtual ActionResult GetDetailInfo(int id = 1, string viewName = "Detail") { YSWL 阅读全文
posted @ 2016-03-31 22:11
代码闪亮
阅读(356)
评论(0)
推荐(0)
摘要:
客户端在请求Web Api时可以有以下两种方式提供API key 基于Querystring提供Api key http://localhost:57967/Api/Values?key=12345 基于Request header体统API key 编写ApiKeyHandler 配置到特定的路由 阅读全文
posted @ 2016-03-31 16:50
代码闪亮
阅读(3729)
评论(1)
推荐(1)

浙公网安备 33010602011771号