|
|
@@ -56,7 +56,7 @@ class Article extends BaseModel
|
|
|
$list->store_info = $list->profile ? $list->profile->toArray() : null;
|
|
|
$list = $list->hidden(['hide', 'status', 'admin_id', 'mer_id'])->toArray();
|
|
|
$list["content"] = Db::name('articleContent')->where('nid', $id)->value('content');
|
|
|
-// $list["content"] = htmlspecialchars_decode($list["content"]);
|
|
|
+ $list["content"] = htmlspecialchars_decode($list["content"]);
|
|
|
return $list;
|
|
|
} else return [];
|
|
|
}
|