Commit c17a2092 authored by shajiaiming's avatar shajiaiming

更新获取文章接口

parent 53c5d9d9
......@@ -32,7 +32,6 @@ class ArticleController extends Controller
}
$max_create_time = Article::find()->where(['platform_id' => -1])->max('create_time');
if ($max_create_time >= strtotime($resp[0]['published_time'])) {
echo $max_create_time.PHP_EOL.strtotime($resp[0]['published_time']);
return 0;
}
......
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