diff --git a/module/cron/lang/zh-cn.php b/module/cron/lang/zh-cn.php
index 5bcb8d189c..a769b15faf 100644
--- a/module/cron/lang/zh-cn.php
+++ b/module/cron/lang/zh-cn.php
@@ -37,7 +37,7 @@ $lang->cron->confirmDelete = '是否删除该计划任务?';
$lang->cron->confirmTurnon = '是否关闭计划任务?';
$lang->cron->introduction = <<
该功能还有待完善,所以默认关闭该功能
+该功能还有待完善,所以默认关闭该功能。
EOD; $lang->cron->confirmOpen = <<| custom->storyReview;?> | +custom->storyReview;?> | custom->reviewList, $needReview);?> | -+ | |
|---|---|---|---|---|
| custom->forceReview;?> | diff --git a/module/score/model.php b/module/score/model.php index e3d394f7a0..881642ff13 100644 --- a/module/score/model.php +++ b/module/score/model.php @@ -221,7 +221,7 @@ class scoreModel extends model $data->time = empty($time) ? helper::now() : $time; $this->dao->insert(TABLE_SCORE)->data($data)->exec(); - $this->dao->update(TABLE_USER)->set("`score`=`score` + " . $rule['score'])->set("`scoreLevel`=`scoreLevel` + " . $rule['score'])->where('account')->eq($account)->exec(); + $this->dao->update(TABLE_USER)->set("`score`=`score` + " . (int)$rule['score'])->set("`scoreLevel`=`scoreLevel` + " . $rule['score'])->where('account')->eq($account)->exec(); } /**