新增全局参数过滤

This commit is contained in:
Devil
2021-08-07 01:23:48 +08:00
parent d9a99af3a7
commit 2318b10698

View File

@ -13,5 +13,6 @@ namespace app;
// 应用请求对象类
class Request extends \think\Request
{
// 全局参数过滤
protected $filter = ['htmlspecialchars'];
}