*
Showing
2 changed files
with
13 additions
and
0 deletions
| ... | @@ -200,4 +200,14 @@ class WorkController extends BaseController | ... | @@ -200,4 +200,14 @@ class WorkController extends BaseController |
| 200 | return $code === 0 ? Response::success($data) : Response::error($code, $msg, $data); | 200 | return $code === 0 ? Response::success($data) : Response::error($code, $msg, $data); |
| 201 | } | 201 | } |
| 202 | 202 | ||
| 203 | /** | ||
| 204 | * @param Request $request | ||
| 205 | * @return \Illuminate\Http\JsonResponse|mixed | ||
| 206 | * @throws \GuzzleHttp\Exception\GuzzleException | ||
| 207 | */ | ||
| 208 | public function incomeList(Request $request) | ||
| 209 | { | ||
| 210 | list($code, $msg, $data) = $this->doApi('/invests/cdsp/incomelist',$request->all()); | ||
| 211 | return $code === 0 ? Response::success($data) : Response::error($code, $msg, $data); | ||
| 212 | } | ||
| 203 | } | 213 | } | ... | ... |
| ... | @@ -43,5 +43,8 @@ Route::group(['middleware'=>'throttle:500,1','prefix'=> 'tme'], function (){ | ... | @@ -43,5 +43,8 @@ Route::group(['middleware'=>'throttle:500,1','prefix'=> 'tme'], function (){ |
| 43 | Route::post('album_detail','WorkController@queryAlbumDetail'); //专辑详情 | 43 | Route::post('album_detail','WorkController@queryAlbumDetail'); //专辑详情 |
| 44 | 44 | ||
| 45 | 45 | ||
| 46 | Route::post('album_detail','WorkController@queryAlbumDetail'); //专辑详情 | ||
| 47 | |||
| 48 | Route::post('income_list','WorkController@incomelist'); //账单列表 | ||
| 46 | 49 | ||
| 47 | }); | 50 | }); | ... | ... |
-
Please register or sign in to post a comment