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
fe7f42f4
...
fe7f42f41869a445b5bc518913a45ee396dfad91
authored
2022-11-08 17:19:12 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
fb5bdde2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Http/Controllers/Release/WorkController.php
routes/release.php
app/Http/Controllers/Release/WorkController.php
View file @
fe7f42f
...
...
@@ -157,7 +157,7 @@ class WorkController extends BaseController
* @return \Illuminate\Http\JsonResponse|mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public
function
album
Update
(
Request
$request
)
public
function
track
Update
(
Request
$request
)
{
list
(
$code
,
$msg
,
$data
)
=
$this
->
doApi
(
'/invests/content/modifyTrack'
,
$request
->
all
());
return
$code
===
0
?
Response
::
success
(
$data
)
:
Response
::
error
(
$code
,
$msg
,
$data
);
...
...
routes/release.php
View file @
fe7f42f
...
...
@@ -35,7 +35,7 @@ Route::group(['middleware'=>'throttle:60,1','prefix'=> 'tme'], function (){
//通过专辑id或者歌曲id查询授权书
Route
::
get
(
'auth_resources'
,
'WorkController@authResources'
);
//查询发行的歌曲tmeId列表接口
Route
::
post
(
'
album_update'
,
'WorkController@album
Update'
);
//专辑编辑接口
Route
::
post
(
'
track_update'
,
'WorkController@track
Update'
);
//专辑编辑接口
});
...
...
Please
register
or
sign in
to post a comment