Kaynağa Gözat

未登陆聊天室状态

wzq 5 yıl önce
ebeveyn
işleme
ac35a9b409
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/Repositories/BeanRepository.php

+ 1 - 1
app/Repositories/BeanRepository.php

@@ -432,7 +432,7 @@ class BeanRepository
                     $chatroom['is_open'] = 1;
                 }
             } elseif ($chatroom['start']>$chatroom['end']) {
-                if ($current<$chatroom['end']) {
+                if ($current>$chatroom['end'] && $current<$chatroom['start']) {
                     $chatroom['is_open'] = 0;
                 } else {
                     $chatroom['is_open'] = 1;