Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
8eb5ba9e
...
8eb5ba9edb79650ede38523ab42db02b417f9570
authored
2023-09-06 17:32:39 +0800
by
赵聪
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
生态-专辑详情
1 parent
5a7c8f47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
app/Http/Controllers/Release/WorkController.php
routes/release.php
app/Http/Controllers/Release/WorkController.php
View file @
8eb5ba9
...
...
@@ -189,5 +189,15 @@ class WorkController extends BaseController
return
$code
===
0
?
Response
::
success
(
$data
)
:
Response
::
error
(
$code
,
$msg
,
$data
);
}
/**
* @param Request $request
* @return \Illuminate\Http\JsonResponse|mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public
function
queryAlbumDetail
(
Request
$request
)
{
list
(
$code
,
$msg
,
$data
)
=
$this
->
doApi
(
'/invests/content/album/queryAlbumDetail'
,
$request
->
all
());
return
$code
===
0
?
Response
::
success
(
$data
)
:
Response
::
error
(
$code
,
$msg
,
$data
);
}
}
...
...
routes/release.php
View file @
8eb5ba9
...
...
@@ -40,5 +40,8 @@ Route::group(['middleware'=>'throttle:500,1','prefix'=> 'tme'], function (){
Route
::
post
(
'album_update'
,
'WorkController@albumUpdate'
);
//专辑编辑接口
Route
::
post
(
'track_update'
,
'WorkController@trackUpdate'
);
//歌曲编辑接口
Route
::
post
(
'album_detail'
,
'WorkController@queryAlbumDetail'
);
//专辑详情
});
...
...
Please
register
or
sign in
to post a comment