|
@@ -127,17 +127,27 @@ class View extends Core
|
|
$this->data['user_act']['note'] = 2;
|
|
$this->data['user_act']['note'] = 2;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
if (isset($this->data['info']['status']) && $this->data['info']['status'] == 2) {
|
|
if (isset($this->data['info']['status']) && $this->data['info']['status'] == 2) {
|
|
|
|
|
|
Dever::load('act/lib/watch')->submit($this->data['uid'], $id, $type);
|
|
Dever::load('act/lib/watch')->submit($this->data['uid'], $id, $type);
|
|
}
|
|
}
|
|
|
|
+ */
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
+
|
|
if ($this->addView) {
|
|
if ($this->addView) {
|
|
|
|
|
|
Dever::load($method)->addView($id);
|
|
Dever::load($method)->addView($id);
|
|
}
|
|
}
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ $this->data['end']['type'] = $type;
|
|
|
|
+ $this->data['end']['id'] = $id;
|
|
|
|
+ $this->data['end']['method'] = $method;
|
|
|
|
+ $this->data['end']['addview'] = $this->addView;
|
|
|
|
+ $this->data['end']['status'] = isset($this->data['info']['status']) ? $this->data['info']['status'] : false;
|
|
|
|
|
|
return $this->data;
|
|
return $this->data;
|
|
}
|
|
}
|