예제 #1
0
        public MResult <List <ItemRegion>[]> GetAllRegionList(string sid, string token, string guid, string user_id, string uid)
        {
            var result = new MResult <List <ItemRegion>[]>();

            try
            {
                /*
                 * result =
                 *  MCacheManager.UseCached<MResult<List<ItemRegion>[]>>(
                 *      string.Format("GetAllRegionList_{0}", sid),
                 *      MCaching.CacheGroup.BaseData,
                 *      BaseDataBLL.GetAllRegionList);
                 */
                result = BaseDataBLL.GetAllRegionList();
            }
            catch (Exception)
            {
                result.status = MResultStatus.ExceptionError;
                result.msg    = "处理数据出错!";
            }
            return(result);
        }