dever 6 年之前
父节点
当前提交
08e1d6ae36
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      main/src/Journal.php

+ 3 - 1
main/src/Journal.php

@@ -550,7 +550,9 @@ class Journal extends Core
                 $this->data['my'] = $my[0];
                 $this->data['my'] = $my[0];
                 $this->data['my']['pai'] = '50+';
                 $this->data['my']['pai'] = '50+';
             }
             }
-        } else {
+        }
+
+        if (!$this->data['my']) {
             $user = Dever::load('passport/api')->info($this->data['uid']);
             $user = Dever::load('passport/api')->info($this->data['uid']);
             $this->data['my'] = array();
             $this->data['my'] = array();
             $this->data['my']['uid'] = $this->data['uid'];
             $this->data['my']['uid'] = $this->data['uid'];