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
1a84e23d
...
1a84e23de82c159c440c5dc35bcc1827ccecd52c
authored
2023-12-12 14:23:17 +0800
by
赵聪
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
8eb5ba9e
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 @
1a84e23
...
...
@@ -200,4 +200,14 @@ 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
incomeList
(
Request
$request
)
{
list
(
$code
,
$msg
,
$data
)
=
$this
->
doApi
(
'/invests/cdsp/incomelist'
,
$request
->
all
());
return
$code
===
0
?
Response
::
success
(
$data
)
:
Response
::
error
(
$code
,
$msg
,
$data
);
}
}
...
...
routes/release.php
View file @
1a84e23
...
...
@@ -43,5 +43,8 @@ Route::group(['middleware'=>'throttle:500,1','prefix'=> 'tme'], function (){
Route
::
post
(
'album_detail'
,
'WorkController@queryAlbumDetail'
);
//专辑详情
Route
::
post
(
'album_detail'
,
'WorkController@queryAlbumDetail'
);
//专辑详情
Route
::
post
(
'income_list'
,
'WorkController@incomelist'
);
//账单列表
});
...
...
Please
register
or
sign in
to post a comment