@@ -92,9 +92,14 @@ class Share
$score = 0;
if ($type == 4) {
$active = Dever::db('journal/active')->one(array('id' => $id));
+ /*
if ($active && $active['status'] == 1 && time() <= $active['end']) {
$score = $active['invite_score'];
}
+ */
+ if ($active) {
+ $score = $active['invite_score'];
+ }
Dever::score($source_uid, 'share_'.$method.'_new_reflux', '通过'.$name.'邀请到新用户', 'act/lib/score.submit?method=share&type='.$type.'&id=' . $id, $score);
# 插入到邀请列表里