|
|
@@ -38,6 +38,20 @@ class Platform extends Api
|
|
|
$this->success('请求成功');
|
|
|
}
|
|
|
|
|
|
+ public function user_share(){
|
|
|
+ if(input('uid',0)>0){
|
|
|
+ $map['uid']=input('uid');
|
|
|
+ }
|
|
|
+ $config=$this->config();
|
|
|
+ $configs=config('site');
|
|
|
+ $list = model('VideoShare')
|
|
|
+ ->with('videolist,user')
|
|
|
+ ->where($map)
|
|
|
+ ->limit(10)
|
|
|
+ ->select();
|
|
|
+ $data=['config'=>$config,'doctor'=>$list];
|
|
|
+ $this->success('请求成功',$data);
|
|
|
+ }
|
|
|
// 每个短剧更具贡献值分红
|
|
|
public function dividend(){
|
|
|
|