1
This commit is contained in:
@@ -46,7 +46,7 @@ class Score extends Wxapp
|
||||
$where['type'] = $type ? Receiver_score_avg_day_model::TYPE_BIZ : Receiver_score_avg_day_model::TYPE_USER;
|
||||
$row = $this->receiver_score_avg_day_model->get($where);
|
||||
$up_time = date('Y-m-d');
|
||||
$title_hd = '较上月';
|
||||
$title_hd = '较上日';
|
||||
} elseif ($day_type == 2) {
|
||||
$up_month = strtotime("-1 month"); //上个月时间
|
||||
$where['year'] = date('Y', $up_month);
|
||||
@@ -66,7 +66,7 @@ class Score extends Wxapp
|
||||
$score = ceil($row['score']) ?: 0;
|
||||
$abs_score = ceil($row['change_score']) ?: 0;
|
||||
if ($abs_score >= 0) {
|
||||
$title = $title_hd . "上升{$abs_score}分";
|
||||
$title = $title_hd . "提升{$abs_score}分";
|
||||
$score_trend = 1;
|
||||
} else {
|
||||
$abs_score = abs($abs_score);
|
||||
@@ -168,7 +168,7 @@ class Score extends Wxapp
|
||||
$up_data_score = $change_score;
|
||||
$score_trend = 1;
|
||||
if ($up_data_score >= 0) {
|
||||
$change_text = '较上一日上升' . $up_data_score . '分';
|
||||
$change_text = '较上一日提升' . $up_data_score . '分';
|
||||
} else {
|
||||
$change_text = '较上一日下降' . abs($up_data_score) . '分';
|
||||
$score_trend = 2;
|
||||
|
||||
Reference in New Issue
Block a user