|
|
@@ -41,13 +41,12 @@ class MusicController extends BaseController
|
|
|
public function index(){
|
|
|
$params = request()->all();
|
|
|
$type = request()->get('type', 1);
|
|
|
+ $params['user_id'] = $this->userId;
|
|
|
if($type ==1){
|
|
|
return $this->service->getDataList($params);
|
|
|
}else if($type == 2){
|
|
|
- $params['user_id'] = $this->userId;
|
|
|
return $this->playService->getDataList($params);
|
|
|
}else if($type == 3){
|
|
|
- $params['user_id'] = $this->userId;
|
|
|
return $this->collectService->getDataList($params);
|
|
|
}
|
|
|
|