예제 #1
0
        public IHttpActionResult GetPrizeConfig(string openId)
        {
            var data   = _prizeFacadeService.GetPrizeConfig(openId);
            var result = new TResult <PrizeConfigInfoDto>();

            return(Ok(result.SuccessResult(data)));
        }
예제 #2
0
        /// <summary>
        /// 抽奖设置
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            var data = _weiXinPrizeFacadeService.GetPrizeConfig();

            return(View(data));
        }