1、判断某个请求参数是否存在
request()->exists(‘site_id‘)
laravel常用的函数集合
原文:https://www.cnblogs.com/ysd-jxt/p/13815317.html