|
|
@@ -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(){
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|