Пример #1
0
        public IHttpActionResult GetUserCommission(Guid authid)
        {
            var res = new ResponseBase();

            try
            {
                var service = new WxService();
                var data    = service.GetUserCommission(authid);

                res.resData = data;
            }
            catch (Exception ex)
            {
                res.code = "100";
                res.msg  = ex.Message;
            }
            return(Ok(res));
            //return Json(res);
        }