Esempio n. 1
0
        public IHttpActionResult GetAgentRelationship(string agentcode)
        {
            var res = new ResponseBase();

            try
            {
                var     service = new WxService();
                dynamic data    = service.GetAgentRelationship(agentcode);

                res.resData = data;
                //res.resData = JsonConvert.DeserializeObject(data);
            }
            catch (Exception ex)
            {
                res.code = "100";
                res.msg  = ex.Message;
            }

            return(Ok(res));
        }