1
This commit is contained in:
parent
dc87d70fdf
commit
403d860c3e
@ -19,7 +19,7 @@ class BigData extends BaseModel {
|
||||
'type' => $type,
|
||||
)
|
||||
);
|
||||
return $row ? $row['data'] : null;
|
||||
return $row ? json_decode($row['data'], true) : null;
|
||||
}
|
||||
|
||||
|
||||
|
@ -551,7 +551,7 @@ class MissionService extends BaseService {
|
||||
{
|
||||
$this->offerRewartdMission['refreshtime'] = myself()->_getNowTime();
|
||||
$sentMissions = array();
|
||||
foreach ($this->offerRewartdMission as $mission) {
|
||||
foreach ($this->offerRewartdMission['missions'] as $mission) {
|
||||
if ($mission['sendtime'] > 0) {
|
||||
array_push($sentMissions, $mission);
|
||||
}
|
||||
@ -578,6 +578,7 @@ class MissionService extends BaseService {
|
||||
));
|
||||
}
|
||||
}
|
||||
BigData::setData(BigData::OFFER_REWARD_MISSION_TYPE, json_encode($this->offerRewartdMission));
|
||||
}
|
||||
|
||||
public function getOfferRewardMissions()
|
||||
|
Loading…
x
Reference in New Issue
Block a user