all(); if(!h5_verify_sign($params)){ $data = Controller::returnValue(['msg' => '验签失败'], 4710); unset($params['sign']); $_sign = h5_set_sign($params); Log::logError('验签失败', [ 'params' => $params, 'sign' => $_sign ], 'h5_verify_sign'); return new Response($data); } return $next($request); } }