dever 4 년 전
부모
커밋
03465708ef
3개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      app/collection/lib/Core.php
  2. 4 0
      app/collection/src/Api.php
  3. 4 1
      app/collection/src/Old.php

+ 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;
     }
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 4 - 1
app/collection/src/Old.php


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.