You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
583 B
29 lines
583 B
<?php
|
|
|
|
namespace app\admin\controller\miniprogram;
|
|
use app\common\controller\Backend;
|
|
|
|
/**
|
|
* 订阅消息模板
|
|
* @icon fa fa-circle-o
|
|
*/
|
|
class Template extends Backend
|
|
{
|
|
|
|
/**
|
|
* Wechat模型对象
|
|
* @var \app\admin\model\miniprogram\Template
|
|
*/
|
|
protected $model = null;
|
|
|
|
public function _initialize()
|
|
{
|
|
parent::_initialize();
|
|
$this->model = new \app\admin\model\miniprogram\Template;
|
|
//开启模型验证
|
|
$this->modelValidate = true;
|
|
//内容过滤
|
|
$this->request->filter('trim,strip_tags');
|
|
}
|
|
|
|
}
|
|
|