|
@@ -174,6 +174,7 @@ class Cron
|
|
if ($score > 0) {
|
|
if ($score > 0) {
|
|
$update['where_uid'] = $uid;
|
|
$update['where_uid'] = $uid;
|
|
$update['score'] = $score;
|
|
$update['score'] = $score;
|
|
|
|
+ $update['time'] = Dever::id();
|
|
return Dever::db('task/user_score')->updateScore($update);
|
|
return Dever::db('task/user_score')->updateScore($update);
|
|
}
|
|
}
|
|
return false;
|
|
return false;
|