Beispiel #1
0
        public IHttpActionResult EditUserProfile(UserProfileDto userpfdto)
        {
            var res = new ResponseBase();

            try
            {
                var service = new WxService();
                var data    = service.EditUserProfile(userpfdto);
                if (!string.IsNullOrEmpty(data))
                {
                    res.code = "100";
                    res.msg  = data;
                }

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