新增全局参数过滤

feat/task1-c-wallet
Devil 2021-08-07 01:23:48 +08:00
parent d9a99af3a7
commit 2318b10698
1 changed files with 2 additions and 1 deletions

View File

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