dever 4 lat temu
rodzic
commit
03465708ef

+ 1 - 0
app/collection/lib/Core.php

@@ -39,6 +39,7 @@ class Core
     	# 获取当前的用户信息
         $this->token = Dever::input('token');
         $this->uid = 1;
+        $this->share_uid = 2;
         $this->user = $this->getUser($this->uid, $this->id);
         $this->user['id'] = $this->uid;
         $this->system_source = Dever::input('system_source', 1);

+ 4 - 0
app/collection/src/Api.php

@@ -201,6 +201,10 @@ class Api extends Core
         # 获取合集分享信息
         $data['share'] = $this->getInfoShare($data['info']);
 
+        if ($this->share_uid && $this->share_uid > 0) {
+            # 获取分享人信息
+        }
+
         return $data;
     }
 

Plik diff jest za duży
+ 4 - 1
app/collection/src/Old.php


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików