|
|
|
|
@ -63,7 +63,7 @@
|
|
|
|
|
category_id,
|
|
|
|
|
article_cover,
|
|
|
|
|
article_title,
|
|
|
|
|
SUBSTR(article_content, 1, 500) AS article_content,
|
|
|
|
|
if(article_abstract is null or article_abstract = '', SUBSTR(article_content, 1, 500), article_abstract) AS article_content,
|
|
|
|
|
is_top,
|
|
|
|
|
is_featured,
|
|
|
|
|
status,
|
|
|
|
|
@ -79,6 +79,7 @@
|
|
|
|
|
category_id,
|
|
|
|
|
article_cover,
|
|
|
|
|
article_title,
|
|
|
|
|
article_abstract,
|
|
|
|
|
article_content,
|
|
|
|
|
is_top,
|
|
|
|
|
is_featured,
|
|
|
|
|
@ -100,7 +101,7 @@
|
|
|
|
|
SELECT a.id AS id,
|
|
|
|
|
article_cover,
|
|
|
|
|
article_title,
|
|
|
|
|
SUBSTR(article_content, 1, 500) AS article_content,
|
|
|
|
|
if(article_abstract is null or article_abstract = '', SUBSTR(article_content, 1, 500), article_abstract) AS article_content,
|
|
|
|
|
is_top,
|
|
|
|
|
is_featured,
|
|
|
|
|
status,
|
|
|
|
|
@ -115,6 +116,7 @@
|
|
|
|
|
user_id,
|
|
|
|
|
category_id,
|
|
|
|
|
article_cover,
|
|
|
|
|
article_abstract,
|
|
|
|
|
article_title,
|
|
|
|
|
article_content,
|
|
|
|
|
is_top,
|
|
|
|
|
|