最新发行记录
Showing
3 changed files
with
4 additions
and
3 deletions
| ... | @@ -52,9 +52,9 @@ class IssueController extends Controller | ... | @@ -52,9 +52,9 @@ class IssueController extends Controller |
| 52 | * 最新发行记录 | 52 | * 最新发行记录 |
| 53 | * @return \Illuminate\Http\JsonResponse | 53 | * @return \Illuminate\Http\JsonResponse |
| 54 | */ | 54 | */ |
| 55 | public function latestRecord() | 55 | public function latestOnlineRecord() |
| 56 | { | 56 | { |
| 57 | return $this->issueService->latestRecord(); | 57 | return $this->issueService->latestOnlineRecord(); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | } | 60 | } | ... | ... |
| ... | @@ -77,7 +77,7 @@ class IssueService extends Service | ... | @@ -77,7 +77,7 @@ class IssueService extends Service |
| 77 | * 发行(上架成功记录) | 77 | * 发行(上架成功记录) |
| 78 | * @return \Illuminate\Http\JsonResponse | 78 | * @return \Illuminate\Http\JsonResponse |
| 79 | */ | 79 | */ |
| 80 | public function latestRecord() | 80 | public function latestOnlineRecord() |
| 81 | { | 81 | { |
| 82 | $res = SongsApply::query()->where(['from'=>1, 'user_id'=>$this->request->get('identifier')->company_id]) | 82 | $res = SongsApply::query()->where(['from'=>1, 'user_id'=>$this->request->get('identifier')->company_id]) |
| 83 | ->whereNotNull('qy_url')->with('songs_album.cover:link_id,key') | 83 | ->whereNotNull('qy_url')->with('songs_album.cover:link_id,key') | ... | ... |
| ... | @@ -53,6 +53,7 @@ Route::group([], function (){ | ... | @@ -53,6 +53,7 @@ Route::group([], function (){ |
| 53 | //发行 | 53 | //发行 |
| 54 | Route::group(["prefix"=>"issue"], function (){ | 54 | Route::group(["prefix"=>"issue"], function (){ |
| 55 | Route::post('/album/subCompany', 'IssueController@subCompany'); | 55 | Route::post('/album/subCompany', 'IssueController@subCompany'); |
| 56 | Route::get('/song/latestOnlineRecord', 'IssueController@latestOnlineRecord'); | ||
| 56 | Route::post('{uri}', 'IssueController@index')->where(['uri'=>'.*+']); | 57 | Route::post('{uri}', 'IssueController@index')->where(['uri'=>'.*+']); |
| 57 | }); | 58 | }); |
| 58 | 59 | ... | ... |
-
Please register or sign in to post a comment