Commit f3e80c3e authored by shajiaiming's avatar shajiaiming

last_id

parent fe43d90b
......@@ -13,6 +13,8 @@ class CoinDogController extends BaseController
{
public function actionArticle()
{
$last_id = Yii::$app->request->get('last_id', '');
$coindog = Yii::$app->params['coindog'];
$accessKey = $coindog['accessKey'];
......@@ -21,6 +23,9 @@ class CoinDogController extends BaseController
'access_key' => $accessKey,
'date' => time()
);
if( false != $last_id) {
$httpParams['last_id'] = $last_id;
}
$signParams = array_merge($httpParams, array('secret_key' => $secretKey));
ksort($signParams);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment