WIN-2308041133\Administrator 8 months ago
parent
commit
7f340b8eb0
1 changed files with 7 additions and 2 deletions
  1. 7 2
      application/api/controller/Platform.php

+ 7 - 2
application/api/controller/Platform.php

@@ -8,7 +8,7 @@ use fast\Tree;
 use app\common\controller\Api;
 
 /**
- * 首页接口
+ * 股份 收益 分红
  */
 class Platform extends Api
 {
@@ -24,7 +24,7 @@ class Platform extends Api
             $map['uid']=input('uid');
         }
         $list =  model('Platform')
-            ->with('users')
+            ->with('user')
             ->where($map)
             ->limit(10)
             ->select();
@@ -36,5 +36,10 @@ class Platform extends Api
         $this->success('请求成功');
     }
 
+//    每个短剧更具贡献值分红
+    public function dividend(){
+
+    }
+
 
 }