lizhen_gitee 10 months ago
parent
commit
baf2117a30
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/common.php

+ 2 - 2
application/common.php

@@ -773,9 +773,9 @@ function get_last_time($time = NULL) {
     $t = $nowtime - $time; //时间差 (秒)
     $y = date('Y', $time)-date('Y', $nowtime);//是否跨年
     switch($t){
-        case $t = 0:
+        /*case $t = 0:
             $text = '刚刚';
-            break;
+            break;*/
         case $t < 60:
             $text = $t . '秒前'; // 一分钟内
             break;