标签:put isp key comment isa variable ble post http请求
$request = Yii::$app->request;
if ($request->isAjax) { /* 该请求是一个 AJAX 请求 */ }
if ($request->isGet) { /* 请求方法是 GET */ }
if ($request->isPost) { /* 请求方法是 POST */ }
if ($request->isPut) { /* 请求方法是 PUT */ }
标签:put isp key comment isa variable ble post http请求
原文地址:http://www.cnblogs.com/pcx105/p/6739492.html