Commit b778e52e authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into develop

parents 073de229 35255555
...@@ -36,7 +36,7 @@ class ArticleController extends Controller ...@@ -36,7 +36,7 @@ class ArticleController extends Controller
if (!isset($resp['list'])) { if (!isset($resp['list'])) {
return 0; 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']; $list = $resp['list'][0]['lives'];
if ($create_time >= $list[0]['created_at']) { 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