Beispiel #1
0
        /// <summary>
        /// 插入用户信息
        /// </summary>
        /// <returns></returns>
        public JsonResult InsertLoctInfo()
        {
            JsonResult jsonResult = new JsonResult();
            string     locInfo    = Request["locInfo"] ?? "";

            locInfo = Server.UrlDecode(locInfo);
            if (locInfo.IndexOf('-') == -1)
            {
                return(null);
            }
            jsonResult.Data = newsBll.InsertLoctInfo(locInfo);
            return(jsonResult);
        }