久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      yii怎么獲取post參數(shù)?

      yii怎么獲取post參數(shù)?

      yii獲取Post參數(shù)的方法:

      Yii::$app->request->post($key, $default)

      第一個參數(shù)($key)為用戶post請求的key,第一個參數(shù)選填,

      第二個參數(shù)($default)是默認值,第二個參數(shù)選填;不填參數(shù)得到的是post數(shù)據(jù)的數(shù)組。

      Yii::$app->request->bodyParams:得到的是數(shù)組,與Yii::$app->request->post()相等。

      判斷用戶請求:

      Yii::$app->request->isGet; Yii::$app->request->isPost;

      相關教程推薦:yii框架

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號