public IHttpActionResult GetSubAgentUser(string agentcode) { var res = new ResponseBase(); try { var service = new WxService(); dynamic data = service.GetSubAgentUser(agentcode); res.resData = data; //res.resData = JsonConvert.DeserializeObject(data); } catch (Exception ex) { res.code = "100"; res.msg = ex.Message; } return(Ok(res)); }