Browse Source

会员升级

Kirin 4 weeks ago
parent
commit
44b13fc00b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/command/CheckAchievement.php

+ 1 - 1
app/command/CheckAchievement.php

@@ -48,8 +48,8 @@ class CheckAchievement extends Command
             foreach ($users as $v) {
                 $achievement = $service->getAchievement($v['uid']);
                 $month_achievement = $service->getLastMonthAchievement($v['uid']);
-                $output->info($this->log($v['uid'] . '总业绩:' . $achievement . '月业绩:' . $month_achievement));
                 if ($month_achievement < $achievement / 10) {
+                    $output->info($this->log($v['uid'] . '总业绩:' . $achievement . '月业绩:' . $month_achievement));
                     $output->info($this->log($v['uid'] . '月业绩未达标,执行降级'));
                 }
             }