TaoLer/app/Request.php
2021-10-12 16:50:02 +08:00

14 lines
299 B
PHP

<?php
namespace app;
// 应用请求对象类
class Request extends \think\Request
{
//过滤空格
//protected $filter = ['trim','htmlspecialchars','strip_tags'];
//protected $filter = ['trim','htmlspecialchars'];
//protected $filter = ['trim','strip_tags'];
protected $filter = ['trim'];
}