TaoLer/app/Request.php

11 lines
169 B
PHP
Raw Permalink Normal View History

2020-01-01 13:17:19 +08:00
<?php
namespace app;
// 应用请求对象类
class Request extends \think\Request
{
//过滤空格
protected $filter = ['trim','htmlspecialchars','strip_tags'];
2020-01-01 13:17:19 +08:00
}