示例#1
0
        public IHttpActionResult CooperationJoin(CooperationDto cooperationdto)
        {
            var res = new ResponseBase();

            try
            {
                var     service = new WxService();
                dynamic data    = service.CooperationJoin(cooperationdto);

                if (!string.IsNullOrEmpty(data))
                {
                    res.code = "100";
                    res.msg  = data;
                }

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

            return(Ok(res));
        }