예제 #1
0
        public MResultList <ItemPay> GetPayMentList(string sid, string token, string guid, string user_id, string uid, string regionid)
        {
            var result = new MResultList <ItemPay>();

            try
            {
                var regionId = MCvHelper.To <int>(regionid);
                result = MCacheManager.UseCached <MResultList <ItemPay> >(
                    string.Format("GetPayList_{0}_{1}", sid, regionid),
                    MCaching.CacheGroup.BaseData, () => BaseDataBLL.GetPaymentList((int)SystemType, regionId));
            }
            catch (Exception ex)
            {
                result.status = MResultStatus.ExceptionError;
                result.msg    = "处理数据出错!";
            }
            return(result);
        }