diff --git a/webapp/controller/SoloController.class.php b/webapp/controller/SoloController.class.php index a224f5e..943af33 100644 --- a/webapp/controller/SoloController.class.php +++ b/webapp/controller/SoloController.class.php @@ -255,6 +255,20 @@ class SoloController return; } + $ret = $conn->execScript( + 'UPDATE solo SET offline=0, modify_time=:modify_time' . + ' WHERE accountid=:accountid;', + array( + ':accountid' => $account_id, + ':modify_time' => time() + ) + ); + + if (!$ret) { + phpcommon\sendError(ERR_RETRY + 1, '系统繁忙'); + return; + } + $offlinehours = $solorow['offline']; $fixawards = explode('|', $levelcfg['offlineitem_id']); $item_list = array();