//构造函数-初始化业务层操作对象 public SignRuleController(IPrizeContract prizeContract, ISignRuleContract signRuleContract, ICouponContract couponContract) { _prizeContract = prizeContract; _signRuleContract = signRuleContract; _couponContract = couponContract; }
//构造函数-初始化业务层操作对象 public PrizeController(IPrizeContract prizeContract) { _prizeContract = prizeContract; }