25 lines
511 B
PHP
25 lines
511 B
PHP
|
<?php
|
|||
|
|
|||
|
namespace app\manystoreapi\controller\school;
|
|||
|
|
|||
|
use app\common\controller\ManystoreApiBase;
|
|||
|
use app\common\model\school\activity\Activity;
|
|||
|
|
|||
|
/**
|
|||
|
* 机构API后台:活动管理接口
|
|||
|
*/
|
|||
|
class NewActivity extends ManystoreApiBase
|
|||
|
{
|
|||
|
protected $layout = '';
|
|||
|
protected $model = null;
|
|||
|
|
|||
|
|
|||
|
public function _initialize()
|
|||
|
{
|
|||
|
parent::_initialize();
|
|||
|
//移除HTML标签
|
|||
|
// $this->request->filter('trim,strip_tags,htmlspecialchars');
|
|||
|
$this->model = new Activity;
|
|||
|
}
|
|||
|
|
|||
|
}
|