基金优化

mengchengzhen 2021-07-10 15:46:00 +08:00
parent 3c48a55f4f
commit 1feb54097f
2 changed files with 4 additions and 0 deletions

View File

@ -831,6 +831,9 @@ public class BuyGoodsNewLogic {
int nowTime = (int)(System.currentTimeMillis()/1000);
for(int i = 1;i<=cDay;i++){
SLuxuryFund fund = SLuxuryFund.getByFoundIdAndDay(type,startDay+i);
if(fund == null){
break;
}
SRechargeCommodityNewConfig config = SRechargeCommodityNewConfig.getConfigById(type);
String reward = ItemUtil.getMailReward(fund.getreward());
String title = SErrorCodeEerverConfig.getI18NMessage("recharge_"+config.getType()+"_daily_title");

View File

@ -79,6 +79,7 @@ public class ReceiveWelfareBag extends AbstractWelfareBag {
public void refresh(){
super.refresh();
setStartTime(System.currentTimeMillis());
setBought(false);
}
private boolean bought ;