新增全局参数过滤

feat/task1-c-wallet
Devil 2021-08-05 16:18:59 +08:00
parent 4a5c86a495
commit d914952e15
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'];
}