diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index a9bdfcb1..e2da21dd 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -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)); diff --git a/webapp/controller/OtherController.class.php b/webapp/controller/OtherController.class.php index 886a7fd3..257023a0 100644 --- a/webapp/controller/OtherController.class.php +++ b/webapp/controller/OtherController.class.php @@ -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; } }