예제 #1
0
        /// <summary>
        /// 获取所有大客户得openApp配置
        /// </summary>
        /// <returns></returns>
        public JsonResult GetAllBigCustomerOpenAppIds()
        {
            UnivRedemptionCodeManager manager = new UnivRedemptionCodeManager();
            var result = manager.GetAllBigCustomerOpenAppIds();

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
        public JsonResult GetGroupSettings(int PageSize, int PageIndex, string KeyWord)
        {
            int count  = 0;
            var list   = manager.SelectRedeemGroupSetting(out count, PageIndex, PageSize, KeyWord);
            var appIds = manager.GetAllBigCustomerOpenAppIds();

            return(Json(new { result = list, appIdList = appIds, total = count }));
        }