WebApi接口传参调用问题

原创地址点击打开链接 一、get请求 对于取数据,我们使用最多的应该就是get请求了吧。下面通过几个示例看看我们的get请求参数传递。 1、基础类型参数 [csharp]  view plain  copy [HttpGet]   public string GetAllChargingData(int id, string name)   {       return "ChargingData
相关文章
相关标签/搜索