Esempio n. 1
0
        /// <summary>
        /// 获取分类用户查询类型枚举列表
        /// </summary>
        /// <returns></returns>
        public ActionResult GetCommonStatusList()
        {
            var          dataResult = EnumsHelper.GetKeyValuePairs <CustomerQueryCategory>(EnumAppendItemType.Select);
            PortalResult result     = new PortalResult()
            {
                Code    = 0,
                Success = true,
                Data    = dataResult,
                Message = ""
            };

            return(View(result));
        }
Esempio n. 2
0
        /// <summary>
        /// 获取短信状态枚举列表
        /// </summary>
        /// <returns></returns>
        public ActionResult GetSMSStatusList()
        {
            var dataResult = EnumsHelper.GetKeyValuePairs <SMSStatus>(EnumAppendItemType.Select);

            dataResult.RemoveAt(1);
            PortalResult result = new PortalResult()
            {
                Code    = 0,
                Success = true,
                Data    = dataResult,
                Message = ""
            };

            return(View(result));
        }
Esempio n. 3
0
        /// <summary>
        /// 获取电子邮件短信模板类型枚举列表
        /// </summary>
        /// <returns></returns>
        public ActionResult GetTemplateCategory()
        {
            var dataResult = EnumsHelper.GetKeyValuePairs <EmailAndSMSTemplateCategory>(EnumAppendItemType.Select);

            dataResult.RemoveAt(1);
            PortalResult result = new PortalResult()
            {
                Code    = 0,
                Success = true,
                Data    = dataResult,
                Message = ""
            };

            return(View(result));
        }