12345678910111213141516171819202122232425262728293031 |
- using Interface;
- using Models.Entity.LotteryNumDB;
- using Services;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Business.WF
- {
- public static class PlayRuleBLL
- {
- private static LotteryNumInterface services;
- static PlayRuleBLL()
- {
- services = new LotteryService();
- }
- /// <summary>
- /// 根据彩票种类itemid得到其玩法规则
- /// </summary>
- /// <param name="id">彩票种类itemId</param>
- /// <returns></returns>
- public static B_Awards GetAwardByPrizeID(string id)
- {
- return services.QueryItembyKey<B_Awards>(id);
- }
- }
- }
|