Commit 35255555 authored by shajiaiming's avatar shajiaiming

fix

parent e1fa3a88
......@@ -36,7 +36,7 @@ class ArticleController extends Controller
if (!isset($resp['list'])) {
return 0;
}
$create_time = Article::find()->where(['source' => 1])->max('create_time');
$create_time = Article::find()->where(['platform_id' => -1])->max('create_time');
$list = $resp['list'][0]['lives'];
if ($create_time >= $list[0]['created_at']) {
......
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