1
This commit is contained in:
parent
7b95031281
commit
8af3e1e61e
@ -682,6 +682,14 @@ class MissionService extends BaseService {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ($heroCount > $missionMeta['param3']) {
|
||||
myself()->_rspErr(1, 'hero number error');
|
||||
return;
|
||||
}
|
||||
if ($gunCount > $missionMeta['param4']) {
|
||||
myself()->_rspErr(1, 'gun number error');
|
||||
return;
|
||||
}
|
||||
$mission['sendtime'] = myself()->_getNowTime();
|
||||
error_log(json_encode($mission));
|
||||
$this->offerRewartdMission['missions'][$idx] = $mission;
|
||||
|
Loading…
x
Reference in New Issue
Block a user