作者 陈志颖

fix:金额激励分红规则时间判断

@@ -44,7 +44,7 @@ func (domainService *ConfirmMoneyIncentivesEstimateService) Confirm(contract *do @@ -44,7 +44,7 @@ func (domainService *ConfirmMoneyIncentivesEstimateService) Confirm(contract *do
44 44
45 // 判断金额激励阶段是否合法 45 // 判断金额激励阶段是否合法
46 currentTime := time.Now() 46 currentTime := time.Now()
47 - if currentTime.Before(moneyIncentivesRuleMatched.MoneyIncentivesStageStart) { 47 + if currentTime.Before(moneyIncentivesRuleMatched.MoneyIncentivesTime) {
48 return nil, fmt.Errorf("还未到分红时间") 48 return nil, fmt.Errorf("还未到分红时间")
49 } 49 }
50 50