OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
17
app/Domain/Gamecenter/Controllers/Launch.php
Normal file
17
app/Domain/Gamecenter/Controllers/Launch.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Leantime\Domain\Gamecenter\Controllers;
|
||||
|
||||
class Launch extends \Leantime\Core\Controller\Controller
|
||||
{
|
||||
public function init() {}
|
||||
|
||||
public function get($params)
|
||||
{
|
||||
|
||||
if (isset($params['game']) && $params['game'] == 'snake') {
|
||||
return $this->tpl->displayPartial('gamecenter.launchSnake');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user