生态-专辑详情
Showing
2 changed files
with
13 additions
and
0 deletions
... | @@ -189,5 +189,15 @@ class WorkController extends BaseController | ... | @@ -189,5 +189,15 @@ class WorkController extends BaseController |
189 | return $code === 0 ? Response::success($data) : Response::error($code, $msg, $data); | 189 | return $code === 0 ? Response::success($data) : Response::error($code, $msg, $data); |
190 | } | 190 | } |
191 | 191 | ||
192 | /** | ||
193 | * @param Request $request | ||
194 | * @return \Illuminate\Http\JsonResponse|mixed | ||
195 | * @throws \GuzzleHttp\Exception\GuzzleException | ||
196 | */ | ||
197 | public function queryAlbumDetail(Request $request) | ||
198 | { | ||
199 | list($code, $msg, $data) = $this->doApi('/invests/content/album/queryAlbumDetail',$request->all()); | ||
200 | return $code === 0 ? Response::success($data) : Response::error($code, $msg, $data); | ||
201 | } | ||
192 | 202 | ||
193 | } | 203 | } | ... | ... |
... | @@ -40,5 +40,8 @@ Route::group(['middleware'=>'throttle:500,1','prefix'=> 'tme'], function (){ | ... | @@ -40,5 +40,8 @@ Route::group(['middleware'=>'throttle:500,1','prefix'=> 'tme'], function (){ |
40 | Route::post('album_update','WorkController@albumUpdate'); //专辑编辑接口 | 40 | Route::post('album_update','WorkController@albumUpdate'); //专辑编辑接口 |
41 | Route::post('track_update','WorkController@trackUpdate'); //歌曲编辑接口 | 41 | Route::post('track_update','WorkController@trackUpdate'); //歌曲编辑接口 |
42 | 42 | ||
43 | Route::post('album_detail','WorkController@queryAlbumDetail'); //专辑详情 | ||
44 | |||
45 | |||
43 | 46 | ||
44 | }); | 47 | }); | ... | ... |
-
Please register or sign in to post a comment