*
Showing
1 changed file
with
12 additions
and
0 deletions
... | @@ -140,6 +140,18 @@ class WorkController extends BaseController | ... | @@ -140,6 +140,18 @@ class WorkController extends BaseController |
140 | } | 140 | } |
141 | } | 141 | } |
142 | 142 | ||
143 | /** | ||
144 | * 根据歌曲Id和专辑Id查询对应的授权书 | ||
145 | * @param Request $request | ||
146 | * @return \Illuminate\Http\JsonResponse|mixed | ||
147 | * @throws \GuzzleHttp\Exception\GuzzleException | ||
148 | */ | ||
149 | public function authResources(Request $request) | ||
150 | { | ||
151 | list($code, $msg, $data) = $this->doApi('/invests/content/authResources',$request->all()); | ||
152 | return $code === 0 ? Response::success($data) : Response::error($code,$msg,$data); | ||
153 | |||
154 | } | ||
143 | 155 | ||
144 | 156 | ||
145 | 157 | ... | ... |
-
Please register or sign in to post a comment