Kirin 4 settimane fa
parent
commit
36c742e61c
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      app/command/CheckAchievement.php

+ 3 - 0
app/command/CheckAchievement.php

@@ -57,10 +57,13 @@ class CheckAchievement extends Command
 
                     $userLevel = $levelService->getUerLevelInfoByUid($v['uid']);
                     $levelService->search()->where('uid', $v['uid'])->where('level_id', $userLevel['level_id'])->update(['status' => 0, 'is_del' => 1]);
+                    $output->info($this->log($v['uid'] . '原等级' . $userLevel['level_id']));
 
                     $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'] . '降级完成'));
                     return;
                 }