瀏覽代碼

未登陆聊天室状态

wzq 5 年之前
父節點
當前提交
ac35a9b409
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;