Merge branch 'fix0414' into 'master'
Fix0414 See merge request !1
Showing
2 changed files
with
14 additions
and
0 deletions
| ... | @@ -168,6 +168,18 @@ class WorkController extends BaseController | ... | @@ -168,6 +168,18 @@ class WorkController extends BaseController |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | /** | 170 | /** |
| 171 | * 查询歌曲列表 | ||
| 172 | * @param Request $request | ||
| 173 | * @return \Illuminate\Http\JsonResponse|mixed | ||
| 174 | * @throws \GuzzleHttp\Exception\GuzzleException | ||
| 175 | */ | ||
| 176 | public function tackList(Request $request) | ||
| 177 | { | ||
| 178 | list($code, $msg, $data) = $this->doApi('/invests/track/tacklist',$request->all(), 'GET'); | ||
| 179 | return $code === 0 ? Response::success($data) : Response::error($code,$msg,$data); | ||
| 180 | } | ||
| 181 | |||
| 182 | /** | ||
| 171 | * @param Request $request | 183 | * @param Request $request |
| 172 | * @return \Illuminate\Http\JsonResponse|mixed | 184 | * @return \Illuminate\Http\JsonResponse|mixed |
| 173 | * @throws \GuzzleHttp\Exception\GuzzleException | 185 | * @throws \GuzzleHttp\Exception\GuzzleException | ... | ... |
| ... | @@ -37,6 +37,8 @@ Route::group(['prefix'=> 'tme'], function (){ | ... | @@ -37,6 +37,8 @@ Route::group(['prefix'=> 'tme'], function (){ |
| 37 | //通过专辑id或者歌曲id查询授权书 | 37 | //通过专辑id或者歌曲id查询授权书 |
| 38 | Route::get('auth_resources','WorkController@authResources'); //查询发行的歌曲tmeId列表接口 | 38 | Route::get('auth_resources','WorkController@authResources'); //查询发行的歌曲tmeId列表接口 |
| 39 | 39 | ||
| 40 | Route::get('tack_list','WorkController@tackList'); //查询歌曲列表 | ||
| 41 | |||
| 40 | Route::post('album_update','WorkController@albumUpdate'); //专辑编辑接口 | 42 | Route::post('album_update','WorkController@albumUpdate'); //专辑编辑接口 |
| 41 | Route::post('track_update','WorkController@trackUpdate'); //歌曲编辑接口 | 43 | Route::post('track_update','WorkController@trackUpdate'); //歌曲编辑接口 |
| 42 | 44 | ... | ... |
-
Please register or sign in to post a comment