|
@@ -46,8 +46,7 @@ class View extends Core
|
|
|
|
|
|
if ($data && $template) {
|
|
|
|
|
|
- print_r($data);die;
|
|
|
- if (isset($data['status']) && $data['status'] == 1 && $preview != 1) {
|
|
|
+ if (isset($data['info']['status']) && $data['info']['status'] == 1 && $preview != 1) {
|
|
|
Dever::alert('您访问的内容已下架');
|
|
|
}
|
|
|
if (isset($data['info']['content_array'])) {
|