Commit 073de229 authored by shajiaiming's avatar shajiaiming

fix

parents 255f9567 e1fa3a88
......@@ -57,9 +57,8 @@ class ArticleController extends Controller
$article->setIsNewRecord(true);
$article->title = $title;
$article->content = $content;
$article->platform_id = 0;
$article->platform_id = -1;
$article->create_time = $item['created_at'];
$article->source = 1;
$article->save() && $article->id = 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