Ver Fonte

会员升级

Kirin há 9 meses atrás
pai
commit
76954505fc
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/command/CheckAchievement.php

+ 1 - 1
app/command/CheckAchievement.php

@@ -62,7 +62,7 @@ class CheckAchievement extends Command
                     $now_level = $levelService->getUerLevelInfoByUid($v['uid']);
                     User::where('uid', $v['uid'])->update(['level' => $now_level['level_id'] ?? 0]);
 
-                    $output->info($this->log($v['uid'] . '降级为' . $now_level['level_id'] ?? 0));
+                    $output->info($this->log($v['uid'] . '降级为' . ($now_level['level_id'] ?? 0)));
 
                     $output->info($this->log($v['uid'] . '降级完成'));
                     return;