24 lines
625 B
PHP
24 lines
625 B
PHP
<?php
|
|
/*
|
|
* @Author: TaoLer <317927823@qq.com>
|
|
* @Date: 2021-12-06 16:04:50
|
|
* @LastEditTime: 2022-07-28 11:44:38
|
|
* @LastEditors: TaoLer
|
|
* @Description: 优化版
|
|
* @FilePath: \github\TaoLer\app\Request.php
|
|
* Copyright (c) 2020~2022 https://www.aieok.com All rights reserved.
|
|
*/
|
|
namespace app;
|
|
|
|
// 应用请求对象类
|
|
class Request extends \think\Request
|
|
{
|
|
//过滤空格
|
|
//protected $filter = ['trim','htmlspecialchars','strip_tags'];
|
|
//protected $filter = ['trim','htmlspecialchars'];
|
|
//protected $filter = ['trim','strip_tags'];
|
|
//protected $filter = ['htmlspecialchars'];
|
|
//protected $filter = ['trim'];
|
|
|
|
}
|