This commit is contained in:
hujiabin 2022-11-28 14:52:34 +08:00
parent 846c5140ed
commit ab1020c877

View File

@ -580,7 +580,6 @@ class MissionService extends BaseService {
private function refreshOfferRewardMission()
{
$this->offerRewartdMission['refreshtime'] = myself()->_getDaySeconds(myself()->_getNowTime());
$wantedRefreshMissionNum = mt\Parameter::getVal
('wanted_refresh_mission_num', 0);
if (count($this->offerRewartdMission['missions']) >= 10){
@ -627,7 +626,7 @@ class MissionService extends BaseService {
));
}
}
$this->offerRewartdMission['refreshtime'] = myself()->_getDaySeconds(myself()->_getNowTime());
$this->saveOfferRewardMission();
}
@ -995,7 +994,9 @@ class MissionService extends BaseService {
//PVE角色NFT每日获得极限CEG+PVE武器NFT每日获得极限CEG*90%/悬赏任务数量
$totalHeroUpLimit = 0;
$totalGunUpLimit = 0;
$count = $this->getOfferRewardMissionCount();
// $count = $this->getOfferRewardMissionCount();
$count = mt\Parameter::getVal
('wanted_refresh_mission_num', 0);
$propertyChgService->addUserChg();
foreach ($mission['objects'] as $obj) {
switch ($obj['type']) {