2020-01-01 13:17:19 +08:00
|
|
|
<?php
|
|
|
|
namespace app;
|
|
|
|
|
|
|
|
// 应用请求对象类
|
|
|
|
class Request extends \think\Request
|
|
|
|
{
|
2020-06-19 16:30:27 +08:00
|
|
|
//过滤空格
|
2021-06-10 13:39:51 +08:00
|
|
|
//protected $filter = ['trim','htmlspecialchars','strip_tags'];
|
|
|
|
protected $filter = ['trim'];
|
2021-03-19 14:38:06 +08:00
|
|
|
|
2020-01-01 13:17:19 +08:00
|
|
|
}
|