...
|
...
|
@@ -450,6 +450,8 @@ class Game extends Api |
|
|
// 获得成就
|
|
|
$achievement_list = $this->getAchievement();
|
|
|
}
|
|
|
// 删除超过两个小时没有过关的记录
|
|
|
GameBarrierResult::where('status','0')->where('createtime','<',time()-7200)->delete();
|
|
|
Db::commit();
|
|
|
}catch (PDOException $e){
|
|
|
Db::rollback();
|
...
|
...
|
|