chore(src): 所有代码上传
This commit is contained in:
@@ -1,29 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
namespace app\event\promotion;
|
||||
|
||||
use app\model\games\Games;
|
||||
|
||||
/**
|
||||
* 关闭小游戏
|
||||
* @author Administrator
|
||||
*
|
||||
*/
|
||||
class CloseGame
|
||||
{
|
||||
public function handle($param)
|
||||
{
|
||||
$model = new Games();
|
||||
$result = $model->cronCloseGames($param['relate_id']);
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
<?php
|
||||
|
||||
namespace app\event\promotion;
|
||||
|
||||
use app\model\games\Games;
|
||||
|
||||
/**
|
||||
* 关闭小游戏
|
||||
* @author Administrator
|
||||
*
|
||||
*/
|
||||
class CloseGame
|
||||
{
|
||||
public function handle($param)
|
||||
{
|
||||
$model = new Games();
|
||||
$result = $model->cronCloseGames($param['relate_id']);
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user