|
@@ -67,7 +67,7 @@ class Core
|
|
|
}
|
|
|
|
|
|
# 更新提交数据
|
|
|
- public function submit($uid, $id, $type, $data = array())
|
|
|
+ public function submit($info_id, $uid, $id, $type, $data = array())
|
|
|
{
|
|
|
if ($this->otable) {
|
|
|
$oinfo = Dever::load($this->otable)->get($uid, $id, $type);
|
|
@@ -100,9 +100,9 @@ class Core
|
|
|
$state = Dever::db($table)->update(array('where_id' => $id, 'num_' . $this->name => $total));
|
|
|
|
|
|
if ($up == 1) {
|
|
|
- Dever::score($uid, 'submit_' . $this->name, $this->lang);
|
|
|
+ Dever::score($uid, 'submit_' . $this->name, $this->lang, false, false, false, 'collection/info', $info_id);
|
|
|
} else {
|
|
|
- Dever::score($uid, 'submit_no_' . $this->name, '取消' . $this->lang);
|
|
|
+ Dever::score($uid, 'submit_no_' . $this->name, '取消' . $this->lang, false, false, false, 'collection/info', $info_id);
|
|
|
}
|
|
|
|
|
|
return true;
|