1
This commit is contained in:
commit
ee7f006814
@ -154,6 +154,8 @@ class BagController extends BaseAuthedController {
|
||||
$this->_rspErr($errCode, $errMsg);
|
||||
return;
|
||||
}
|
||||
myself()->_rspOk();
|
||||
return;
|
||||
}
|
||||
$itemDto = Bag::findByType(mt\Item::FUNC_TYPE, mt\Item::FUNC_RENAME_CARD_SUBTYPE);
|
||||
error_log(json_encode($itemDto));
|
||||
|
@ -193,7 +193,10 @@ class OtherController extends BaseAuthedController {
|
||||
if (empty($taskStatus)) {
|
||||
return true;
|
||||
}
|
||||
if (myself()->_getNowTime() <= strtotime($taskMeta['obtain_end_time'])) {
|
||||
if (!$taskMeta) {
|
||||
return true;
|
||||
}
|
||||
if (myself()->_getNowTime() <= strtotime($taskMeta['income_start_time'])) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user