阶段备份提交
Showing
8 changed files
with
299 additions
and
60 deletions
... | @@ -18,20 +18,27 @@ class BaseController extends Controller | ... | @@ -18,20 +18,27 @@ class BaseController extends Controller |
18 | public function __construct() | 18 | public function __construct() |
19 | { | 19 | { |
20 | $this->domain = env('ICMS_DOMAIN','https://mgw-uat.tencentmusic.com/icms/sit-api'); | 20 | $this->domain = env('ICMS_DOMAIN','https://mgw-uat.tencentmusic.com/icms/sit-api'); |
21 | $this->cp_id = env('ICMS_CPID',7389); | 21 | $this->cp_id = env('ICMS_CPID','7389'); |
22 | $this->key = env('ICMS_KEY','50d74110004d94605d12c241eeafee27'); | 22 | $this->key = env('ICMS_KEY','50d74110004d94605d12c241eeafee27'); |
23 | } | 23 | } |
24 | 24 | ||
25 | /** | 25 | /** |
26 | * 签名需要,处理子数组中Int型数字转换成字符串 | 26 | * 签名需要,递归处理子数组中Int型数字转换成字符串 |
27 | * @param array $array | 27 | * @param array $array |
28 | * @return false|string | 28 | * @return array |
29 | */ | 29 | */ |
30 | private function handleSubArrayNumber(array $array) | 30 | private function handleSubArrayNumber(array $array) |
31 | { | 31 | { |
32 | return preg_replace('/\"\"(\d+)\"\"/','"\1"', | 32 | foreach ($array as $k=>$v) { |
33 | preg_replace('/(\d+)/','"\1"',json_encode($array)) | 33 | if (is_array($v)) { |
34 | ); | 34 | $array[$k] = $this->handleSubArrayNumber($v); |
35 | } else { | ||
36 | if (is_numeric($v) && is_int($v)) { | ||
37 | $array[$k] = (string)$v; | ||
38 | } | ||
39 | } | ||
40 | } | ||
41 | return $array; | ||
35 | } | 42 | } |
36 | 43 | ||
37 | /** | 44 | /** |
... | @@ -55,7 +62,7 @@ class BaseController extends Controller | ... | @@ -55,7 +62,7 @@ class BaseController extends Controller |
55 | if ('' === $v || null === $v || [] === $v) { | 62 | if ('' === $v || null === $v || [] === $v) { |
56 | continue; | 63 | continue; |
57 | } if (is_array($v)) { | 64 | } if (is_array($v)) { |
58 | $params .= $k . '=' . $this->handleSubArrayNumber($v) . '&'; | 65 | $params .= $k . '=' . json_encode($this->handleSubArrayNumber($v)) . '&'; |
59 | } else { | 66 | } else { |
60 | $params .= $k . '=' . $v . '&'; | 67 | $params .= $k . '=' . $v . '&'; |
61 | } | 68 | } |
... | @@ -97,7 +104,6 @@ class BaseController extends Controller | ... | @@ -97,7 +104,6 @@ class BaseController extends Controller |
97 | { | 104 | { |
98 | $url = rtrim($this->domain,'/').'/'.$uri; | 105 | $url = rtrim($this->domain,'/').'/'.$uri; |
99 | $data = $this->requestData($uri, $reqData); | 106 | $data = $this->requestData($uri, $reqData); |
100 | // var_dump($data);exit; | ||
101 | try { | 107 | try { |
102 | $client = new Client(['verify'=>false]); //实体公钥['verify'=>'/path/to/public.pem'] | 108 | $client = new Client(['verify'=>false]); //实体公钥['verify'=>'/path/to/public.pem'] |
103 | switch (strtoupper($method)) { | 109 | switch (strtoupper($method)) { | ... | ... |
... | @@ -20,22 +20,17 @@ class WorkController extends BaseController | ... | @@ -20,22 +20,17 @@ class WorkController extends BaseController |
20 | } | 20 | } |
21 | 21 | ||
22 | /** | 22 | /** |
23 | * 保存专辑草稿 | 23 | * 专辑提交上线库 |
24 | * @param Request $request | 24 | * @param Request $request |
25 | * @return \Illuminate\Http\JsonResponse|mixed | 25 | * @return \Illuminate\Http\JsonResponse|mixed |
26 | * @throws \GuzzleHttp\Exception\GuzzleException | 26 | * @throws \GuzzleHttp\Exception\GuzzleException |
27 | */ | 27 | */ |
28 | public function saveAlbum(Request $request) | 28 | public function submitTme(Request $request) |
29 | { | 29 | { |
30 | //todo:参数验证 | 30 | //todo:参数验证 |
31 | return $this->doApi('save-album'); | 31 | return $this->doApi('save-album'); |
32 | } | 32 | } |
33 | 33 | ||
34 | public function submitTme() | ||
35 | { | ||
36 | //提交上线库 | ||
37 | } | ||
38 | |||
39 | /** | 34 | /** |
40 | * 获取专辑详情 | 35 | * 获取专辑详情 |
41 | * @param Request $request | 36 | * @param Request $request |
... | @@ -49,16 +44,15 @@ class WorkController extends BaseController | ... | @@ -49,16 +44,15 @@ class WorkController extends BaseController |
49 | } | 44 | } |
50 | 45 | ||
51 | /** | 46 | /** |
52 | * 删除专辑草稿(含批量) | 47 | * 删除专辑草稿(含批量)<草稿接口目前弃用,所以不存在删除了> |
53 | * @param Request $request | 48 | * @param Request $request |
54 | * @return \Illuminate\Http\JsonResponse|mixed | 49 | * @return \Illuminate\Http\JsonResponse|mixed |
55 | * @throws \GuzzleHttp\Exception\GuzzleException | 50 | * @throws \GuzzleHttp\Exception\GuzzleException |
56 | */ | 51 | */ |
57 | public function delAlbum(Request $request) | 52 | // public function delAlbum(Request $request) |
58 | { | 53 | // { |
59 | //todo:数据验证 | 54 | // return $this->doApi('del-album'); |
60 | return $this->doApi('del-album'); | 55 | // } |
61 | } | ||
62 | 56 | ||
63 | /** | 57 | /** |
64 | * 艺人查询 | 58 | * 艺人查询 |
... | @@ -81,7 +75,7 @@ class WorkController extends BaseController | ... | @@ -81,7 +75,7 @@ class WorkController extends BaseController |
81 | public function createShower(Request $request) | 75 | public function createShower(Request $request) |
82 | { | 76 | { |
83 | //todo: 待数据实现 | 77 | //todo: 待数据实现 |
84 | // return $this->doApi('create-shower'); | 78 | return $this->doApi('create-shower'); |
85 | } | 79 | } |
86 | 80 | ||
87 | /** | 81 | /** |
... | @@ -116,30 +110,10 @@ class WorkController extends BaseController | ... | @@ -116,30 +110,10 @@ class WorkController extends BaseController |
116 | */ | 110 | */ |
117 | public function originalCompany(Request $request) | 111 | public function originalCompany(Request $request) |
118 | { | 112 | { |
113 | //todo:参数验证 | ||
119 | return $this->doApi('original-company'); | 114 | return $this->doApi('original-company'); |
120 | } | 115 | } |
121 | 116 | ||
122 | public function albumBatchSubmit() | ||
123 | { | ||
124 | //专辑作品批量提交 | ||
125 | } | ||
126 | |||
127 | /** | ||
128 | * 作品批量上传任务列表 | ||
129 | * @param Request $request | ||
130 | * @return \Illuminate\Http\JsonResponse|mixed | ||
131 | * @throws \GuzzleHttp\Exception\GuzzleException | ||
132 | */ | ||
133 | public function batchUploadMqList(Request $request) | ||
134 | { | ||
135 | return $this->doApi('batch-upload-mq-list'); | ||
136 | } | ||
137 | |||
138 | public function cqlAlbum() | ||
139 | { | ||
140 | //曲库歌曲导入(post)/获取结果(get) | ||
141 | } | ||
142 | |||
143 | /** | 117 | /** |
144 | * 作品录入文件上传 | 118 | * 作品录入文件上传 |
145 | * @param Request $request | 119 | * @param Request $request |
... | @@ -148,6 +122,7 @@ class WorkController extends BaseController | ... | @@ -148,6 +122,7 @@ class WorkController extends BaseController |
148 | */ | 122 | */ |
149 | public function workFile(Request $request) | 123 | public function workFile(Request $request) |
150 | { | 124 | { |
125 | //todo:参数验证 | ||
151 | return $this->doApi('work-file'); | 126 | return $this->doApi('work-file'); |
152 | } | 127 | } |
153 | 128 | ||
... | @@ -159,6 +134,7 @@ class WorkController extends BaseController | ... | @@ -159,6 +134,7 @@ class WorkController extends BaseController |
159 | */ | 134 | */ |
160 | public function signSubject(Request $request) | 135 | public function signSubject(Request $request) |
161 | { | 136 | { |
137 | //todo:参数验证 | ||
162 | return $this->doApi('sign-subject'); | 138 | return $this->doApi('sign-subject'); |
163 | } | 139 | } |
164 | } | 140 | } | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | return [ | 2 | return [ |
3 | 'page_size' => 10, | 3 | 'page_size' => 10, |
4 | 'page' => 1, | 4 | 'page' => 1, |
5 | 'singer_name' => '海葵',//艺人名 | 5 | 'singer_name' => '1',//艺人名 |
6 | 'area' => 3,//艺人活跃地区 int 0 港台; 1 内地; 2 日韩; 3 欧美; 4 其他; 5 东南亚; 6 未知; | 6 | 'area' => 3,//艺人活跃地区 int 0 港台; 1 内地; 2 日韩; 3 欧美; 4 其他; 5 东南亚; 6 未知; |
7 | 'type' => 1,//艺人类型 int 0: 男; 1: 女; 2: 组合; 3: 虚拟; 4: 其他; | 7 | 'type' => 1,//艺人类型 int 0: 男; 1: 女; 2: 组合; 3: 虚拟; 4: 其他; |
8 | ]; | 8 | ]; |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -4,18 +4,276 @@ array ( | ... | @@ -4,18 +4,276 @@ array ( |
4 | array ( | 4 | array ( |
5 | 0 => | 5 | 0 => |
6 | array ( | 6 | array ( |
7 | 'trans_name' => '测试艺人01', | 7 | 'trans_name' => '', |
8 | 'singer_id' => 15835620, | 8 | 'singer_id' => 11615690, |
9 | 'album_list' => | 9 | 'album_list' => |
10 | array ( | 10 | array ( |
11 | ), | 11 | ), |
12 | 'photo_url' => '', | 12 | 'photo_url' => NULL, |
13 | 'singer_name' => '海葵测试艺人01', | 13 | 'singer_name' => ' ', |
14 | 'area' => 3, | 14 | 'area' => 6, |
15 | 'role' => '', | 15 | 'role' => '', |
16 | 'genre' => '', | 16 | 'genre' => '', |
17 | 'sub_genre' => '', | 17 | 'sub_genre' => '', |
18 | 'type' => 1, | 18 | 'type' => 0, |
19 | 'id' => NULL, | ||
20 | 'ffrom' => 0, | ||
21 | ), | ||
22 | 1 => | ||
23 | array ( | ||
24 | 'trans_name' => '', | ||
25 | 'singer_id' => 12766197, | ||
26 | 'album_list' => | ||
27 | array ( | ||
28 | ), | ||
29 | 'photo_url' => NULL, | ||
30 | 'singer_name' => ' 3 BOYS', | ||
31 | 'area' => 6, | ||
32 | 'role' => '', | ||
33 | 'genre' => '', | ||
34 | 'sub_genre' => '', | ||
35 | 'type' => 0, | ||
36 | 'id' => NULL, | ||
37 | 'ffrom' => 0, | ||
38 | ), | ||
39 | 2 => | ||
40 | array ( | ||
41 | 'trans_name' => '', | ||
42 | 'singer_id' => 12766122, | ||
43 | 'album_list' => | ||
44 | array ( | ||
45 | ), | ||
46 | 'photo_url' => NULL, | ||
47 | 'singer_name' => ' 427 Feat. DJ REVOLUTION', | ||
48 | 'area' => 6, | ||
49 | 'role' => '', | ||
50 | 'genre' => '', | ||
51 | 'sub_genre' => '', | ||
52 | 'type' => 0, | ||
53 | 'id' => NULL, | ||
54 | 'ffrom' => 0, | ||
55 | ), | ||
56 | 3 => | ||
57 | array ( | ||
58 | 'trans_name' => '', | ||
59 | 'singer_id' => 12766348, | ||
60 | 'album_list' => | ||
61 | array ( | ||
62 | 0 => | ||
63 | array ( | ||
64 | 'status' => NULL, | ||
65 | 'photo_url' => 'http://quku-30106.sz.gfp.tencent-cloud.com/maiai/6047025/6047025.jpeg?sign=q-sign-algorithm%3Dsha1%26q-ak%3D4fHArEE8trlnFFvFWyWaemhO%26q-sign-time%3D1588137830%3B32535187200%26q-key-time%3D1588137830%3B32535187200%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D37bd94cba791b7376c2b623a6806edb783a4ebdb', | ||
66 | 'album_name' => 'SLEIGH BELL ROCK', | ||
67 | 'sale_time' => NULL, | ||
68 | 'album_id' => NULL, | ||
69 | 'public_time' => '2016-01-01 00:00:00', | ||
70 | 'album_photo_list' => NULL, | ||
71 | 'id' => NULL, | ||
72 | ), | ||
73 | 1 => | ||
74 | array ( | ||
75 | 'status' => NULL, | ||
76 | 'photo_url' => 'http://quku-30106.sz.gfp.tencent-cloud.com/maiai/6047025/6047025.jpeg?sign=q-sign-algorithm%3Dsha1%26q-ak%3D4fHArEE8trlnFFvFWyWaemhO%26q-sign-time%3D1588137830%3B32535187200%26q-key-time%3D1588137830%3B32535187200%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D37bd94cba791b7376c2b623a6806edb783a4ebdb', | ||
77 | 'album_name' => 'SLEIGH BELL ROCK', | ||
78 | 'sale_time' => NULL, | ||
79 | 'album_id' => NULL, | ||
80 | 'public_time' => '2016-01-01 00:00:00', | ||
81 | 'album_photo_list' => NULL, | ||
82 | 'id' => NULL, | ||
83 | ), | ||
84 | ), | ||
85 | 'photo_url' => NULL, | ||
86 | 'singer_name' => ' A JOKER', | ||
87 | 'area' => 6, | ||
88 | 'role' => '', | ||
89 | 'genre' => '', | ||
90 | 'sub_genre' => '', | ||
91 | 'type' => 0, | ||
92 | 'id' => NULL, | ||
93 | 'ffrom' => 0, | ||
94 | ), | ||
95 | 4 => | ||
96 | array ( | ||
97 | 'trans_name' => '', | ||
98 | 'singer_id' => 12766031, | ||
99 | 'album_list' => | ||
100 | array ( | ||
101 | ), | ||
102 | 'photo_url' => NULL, | ||
103 | 'singer_name' => ' AISHER', | ||
104 | 'area' => 6, | ||
105 | 'role' => '', | ||
106 | 'genre' => '', | ||
107 | 'sub_genre' => '', | ||
108 | 'type' => 0, | ||
109 | 'id' => NULL, | ||
110 | 'ffrom' => 0, | ||
111 | ), | ||
112 | 5 => | ||
113 | array ( | ||
114 | 'trans_name' => '', | ||
115 | 'singer_id' => 12766192, | ||
116 | 'album_list' => | ||
117 | array ( | ||
118 | ), | ||
119 | 'photo_url' => NULL, | ||
120 | 'singer_name' => ' ALEX BUNKERFREAK', | ||
121 | 'area' => 6, | ||
122 | 'role' => '', | ||
123 | 'genre' => '', | ||
124 | 'sub_genre' => '', | ||
125 | 'type' => 0, | ||
126 | 'id' => NULL, | ||
127 | 'ffrom' => 0, | ||
128 | ), | ||
129 | 6 => | ||
130 | array ( | ||
131 | 'trans_name' => '', | ||
132 | 'singer_id' => 12765988, | ||
133 | 'album_list' => | ||
134 | array ( | ||
135 | ), | ||
136 | 'photo_url' => NULL, | ||
137 | 'singer_name' => ' ALEX GARDINI', | ||
138 | 'area' => 6, | ||
139 | 'role' => '', | ||
140 | 'genre' => '', | ||
141 | 'sub_genre' => '', | ||
142 | 'type' => 0, | ||
143 | 'id' => NULL, | ||
144 | 'ffrom' => 0, | ||
145 | ), | ||
146 | 7 => | ||
147 | array ( | ||
148 | 'trans_name' => '', | ||
149 | 'singer_id' => 12766199, | ||
150 | 'album_list' => | ||
151 | array ( | ||
152 | 0 => | ||
153 | array ( | ||
154 | 'status' => NULL, | ||
155 | 'photo_url' => 'http://quku-30106.sz.gfp.tencent-cloud.com/maiai/6047025/6047025.jpeg?sign=q-sign-algorithm%3Dsha1%26q-ak%3D4fHArEE8trlnFFvFWyWaemhO%26q-sign-time%3D1588137830%3B32535187200%26q-key-time%3D1588137830%3B32535187200%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D37bd94cba791b7376c2b623a6806edb783a4ebdb', | ||
156 | 'album_name' => 'ANOTHER STAR', | ||
157 | 'sale_time' => NULL, | ||
158 | 'album_id' => NULL, | ||
159 | 'public_time' => '2016-01-01 00:00:00', | ||
160 | 'album_photo_list' => NULL, | ||
161 | 'id' => NULL, | ||
162 | ), | ||
163 | 1 => | ||
164 | array ( | ||
165 | 'status' => NULL, | ||
166 | 'photo_url' => 'http://quku-30106.sz.gfp.tencent-cloud.com/maiai/6047025/6047025.jpeg?sign=q-sign-algorithm%3Dsha1%26q-ak%3D4fHArEE8trlnFFvFWyWaemhO%26q-sign-time%3D1588137830%3B32535187200%26q-key-time%3D1588137830%3B32535187200%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D37bd94cba791b7376c2b623a6806edb783a4ebdb', | ||
167 | 'album_name' => 'ANOTHER STAR', | ||
168 | 'sale_time' => NULL, | ||
169 | 'album_id' => NULL, | ||
170 | 'public_time' => '2016-01-01 00:00:00', | ||
171 | 'album_photo_list' => NULL, | ||
172 | 'id' => NULL, | ||
173 | ), | ||
174 | ), | ||
175 | 'photo_url' => NULL, | ||
176 | 'singer_name' => ' ALEX GARDINI VS BLONDIE GOES TO BOLLYWOOD', | ||
177 | 'area' => 6, | ||
178 | 'role' => '', | ||
179 | 'genre' => '', | ||
180 | 'sub_genre' => '', | ||
181 | 'type' => 0, | ||
182 | 'id' => NULL, | ||
183 | 'ffrom' => 0, | ||
184 | ), | ||
185 | 8 => | ||
186 | array ( | ||
187 | 'trans_name' => '', | ||
188 | 'singer_id' => 12766312, | ||
189 | 'album_list' => | ||
190 | array ( | ||
191 | 0 => | ||
192 | array ( | ||
193 | 'status' => NULL, | ||
194 | 'photo_url' => 'http://quku-30106.sz.gfp.tencent-cloud.com/maiai/6047025/6047025.jpeg?sign=q-sign-algorithm%3Dsha1%26q-ak%3D4fHArEE8trlnFFvFWyWaemhO%26q-sign-time%3D1588137830%3B32535187200%26q-key-time%3D1588137830%3B32535187200%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D37bd94cba791b7376c2b623a6806edb783a4ebdb', | ||
195 | 'album_name' => 'MY ANGEL HEART', | ||
196 | 'sale_time' => NULL, | ||
197 | 'album_id' => NULL, | ||
198 | 'public_time' => '2016-01-01 00:00:00', | ||
199 | 'album_photo_list' => NULL, | ||
200 | 'id' => NULL, | ||
201 | ), | ||
202 | 1 => | ||
203 | array ( | ||
204 | 'status' => NULL, | ||
205 | 'photo_url' => 'http://quku-30106.sz.gfp.tencent-cloud.com/maiai/6047025/6047025.jpeg?sign=q-sign-algorithm%3Dsha1%26q-ak%3D4fHArEE8trlnFFvFWyWaemhO%26q-sign-time%3D1588137830%3B32535187200%26q-key-time%3D1588137830%3B32535187200%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D37bd94cba791b7376c2b623a6806edb783a4ebdb', | ||
206 | 'album_name' => 'MY ANGEL HEART', | ||
207 | 'sale_time' => NULL, | ||
208 | 'album_id' => NULL, | ||
209 | 'public_time' => '2016-01-01 00:00:00', | ||
210 | 'album_photo_list' => NULL, | ||
211 | 'id' => NULL, | ||
212 | ), | ||
213 | ), | ||
214 | 'photo_url' => NULL, | ||
215 | 'singer_name' => ' ALPHATOWN', | ||
216 | 'area' => 6, | ||
217 | 'role' => '', | ||
218 | 'genre' => '', | ||
219 | 'sub_genre' => '', | ||
220 | 'type' => 0, | ||
221 | 'id' => NULL, | ||
222 | 'ffrom' => 0, | ||
223 | ), | ||
224 | 9 => | ||
225 | array ( | ||
226 | 'trans_name' => '', | ||
227 | 'singer_id' => 12766290, | ||
228 | 'album_list' => | ||
229 | array ( | ||
230 | ), | ||
231 | 'photo_url' => NULL, | ||
232 | 'singer_name' => ' ANDRÉ PREVIN', | ||
233 | 'area' => 6, | ||
234 | 'role' => '', | ||
235 | 'genre' => '', | ||
236 | 'sub_genre' => '', | ||
237 | 'type' => 0, | ||
238 | 'id' => NULL, | ||
239 | 'ffrom' => 0, | ||
240 | ), | ||
241 | 10 => | ||
242 | array ( | ||
243 | 'trans_name' => '', | ||
244 | 'singer_id' => 12766390, | ||
245 | 'album_list' => | ||
246 | array ( | ||
247 | 0 => | ||
248 | array ( | ||
249 | 'status' => NULL, | ||
250 | 'photo_url' => 'http://quku-30106.sz.gfp.tencent-cloud.com/maiai/6047025/6047025.jpeg?sign=q-sign-algorithm%3Dsha1%26q-ak%3D4fHArEE8trlnFFvFWyWaemhO%26q-sign-time%3D1588137830%3B32535187200%26q-key-time%3D1588137830%3B32535187200%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D37bd94cba791b7376c2b623a6806edb783a4ebdb', | ||
251 | 'album_name' => 'XS', | ||
252 | 'sale_time' => NULL, | ||
253 | 'album_id' => NULL, | ||
254 | 'public_time' => '2016-01-01 00:00:00', | ||
255 | 'album_photo_list' => NULL, | ||
256 | 'id' => NULL, | ||
257 | ), | ||
258 | 1 => | ||
259 | array ( | ||
260 | 'status' => NULL, | ||
261 | 'photo_url' => 'http://quku-30106.sz.gfp.tencent-cloud.com/maiai/6047025/6047025.jpeg?sign=q-sign-algorithm%3Dsha1%26q-ak%3D4fHArEE8trlnFFvFWyWaemhO%26q-sign-time%3D1588137830%3B32535187200%26q-key-time%3D1588137830%3B32535187200%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D37bd94cba791b7376c2b623a6806edb783a4ebdb', | ||
262 | 'album_name' => 'XS', | ||
263 | 'sale_time' => NULL, | ||
264 | 'album_id' => NULL, | ||
265 | 'public_time' => '2016-01-01 00:00:00', | ||
266 | 'album_photo_list' => NULL, | ||
267 | 'id' => NULL, | ||
268 | ), | ||
269 | ), | ||
270 | 'photo_url' => NULL, | ||
271 | 'singer_name' => ' ART-FACTOR', | ||
272 | 'area' => 6, | ||
273 | 'role' => '', | ||
274 | 'genre' => '', | ||
275 | 'sub_genre' => '', | ||
276 | 'type' => 0, | ||
19 | 'id' => NULL, | 277 | 'id' => NULL, |
20 | 'ffrom' => 0, | 278 | 'ffrom' => 0, |
21 | ), | 279 | ), | ... | ... |
... | @@ -21,7 +21,7 @@ return [ | ... | @@ -21,7 +21,7 @@ return [ |
21 | 'price' => '1000.00', | 21 | 'price' => '1000.00', |
22 | 'auth_file' => 'https://legal-test-1305250541.cos.ap-shanghai.myqcloud.com/approvals/contracts/2021-10-21/1634816138676/todo.txt?q-sign-algorithm=sha1&q-ak=AKID7M9V6J5PV6ijzuYiQsA4h85V98-QqvkYYNi6GyLh0rbYRy2JpSTvMXl72OyVLSiu&q-sign-time=1639991569;1639995169&q-key-time=1639991569;1639995169&q-header-list=host&q-url-param-list=&q-signature=ff885dc6c1d999c49238ba5ec5ca795e056f86bf&x-cos-security-token=PE33cjrK617zzKIt6bWo3bdJqmbh4Xra34ee0f941ee401b0d421adc5845e83ffOQpcFK9GE2Ssby2dwXNhPd3bMeReuwI8UaPHBKS8k4jj0mrqhvI5U4_Z3bUMMcS5yaB8Cp4bU88C_6hBQ1QxGtSZJPfcnNM9i6ln4hnI87C9LtDWmRtUdfvsswpG91yqqqe_X2ZIJJ3hvf-TAjB8OGdbD7EBuQLo8tsmNp6Zf0P1u-0fpaPd2KgH4_-h1Am2', | 22 | 'auth_file' => 'https://legal-test-1305250541.cos.ap-shanghai.myqcloud.com/approvals/contracts/2021-10-21/1634816138676/todo.txt?q-sign-algorithm=sha1&q-ak=AKID7M9V6J5PV6ijzuYiQsA4h85V98-QqvkYYNi6GyLh0rbYRy2JpSTvMXl72OyVLSiu&q-sign-time=1639991569;1639995169&q-key-time=1639991569;1639995169&q-header-list=host&q-url-param-list=&q-signature=ff885dc6c1d999c49238ba5ec5ca795e056f86bf&x-cos-security-token=PE33cjrK617zzKIt6bWo3bdJqmbh4Xra34ee0f941ee401b0d421adc5845e83ffOQpcFK9GE2Ssby2dwXNhPd3bMeReuwI8UaPHBKS8k4jj0mrqhvI5U4_Z3bUMMcS5yaB8Cp4bU88C_6hBQ1QxGtSZJPfcnNM9i6ln4hnI87C9LtDWmRtUdfvsswpG91yqqqe_X2ZIJJ3hvf-TAjB8OGdbD7EBuQLo8tsmNp6Zf0P1u-0fpaPd2KgH4_-h1Am2', |
23 | 'album_summary' => '海葵测试专辑01-简介',//专辑简介 | 23 | 'album_summary' => '海葵测试专辑01-简介',//专辑简介 |
24 | 'signsubject_id' => '',//签约主体ID | 24 | 'signsubject_id' => 1,//签约主体ID |
25 | 'song_list' => [ | 25 | 'song_list' => [ |
26 | [ | 26 | [ |
27 | 'id' => 0, | 27 | 'id' => 0, |
... | @@ -36,7 +36,11 @@ return [ | ... | @@ -36,7 +36,11 @@ return [ |
36 | 'online_time' => '2022-01-01', | 36 | 'online_time' => '2022-01-01', |
37 | 'pay_mode' => 3, | 37 | 'pay_mode' => 3, |
38 | 'music' => '隔离日记',//音频 name/file_name/tme | 38 | 'music' => '隔离日记',//音频 name/file_name/tme |
39 | 'copyright_list' => [], | 39 | 'copyright_list' => [ |
40 | 'original_company' => '盛彩霓虹',//原始版权公司 | ||
41 | 'auth_start_time' => '2022-01-01',//授权开始时间 | ||
42 | 'auth_end_time' => '2022-01-05',//授权结束时间 | ||
43 | ], | ||
40 | ] | 44 | ] |
41 | ],//歌曲列表 | 45 | ],//歌曲列表 |
42 | ]; | 46 | ]; |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <?php | 1 | <?php |
2 | return [ | 2 | return [ |
3 | 'url' => 'https://gtcp-1253428821.cos.ap-guangzhou.myqcloud.com/4f423980d2975338b7be47f9e7156d61.jpg?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDMVQ6e0WkkV0GH3C1IK7e2B4iGZemtRv9%26q-sign-time%3D1640079439%3B1640093899%26q-key-time%3D1640079439%3B1640093899%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3Def5521d257db2f0e0a19599e2a582bb2dc043c21'//原临时链接(或已过期,4小时有效) | 3 | 'url' => 'https://gtcp-1253428821.cos.ap-guangzhou.myqcloud.com/4f423980d2975338b7be47f9e7156d61.jpg?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDMVQ6e0WkkV0GH3C1IK7e2B4iGZemtRv9%26q-sign-time%3D1640140312%3B1640154772%26q-key-time%3D1640140312%3B1640154772%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D38093f9d282c198a59f9f98ed5870222a26b3890'//原临时链接(非过期,4小时) |
4 | ]; | 4 | ]; |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -19,14 +19,14 @@ use Illuminate\Support\Facades\Route; | ... | @@ -19,14 +19,14 @@ use Illuminate\Support\Facades\Route; |
19 | }); | 19 | }); |
20 | 20 | ||
21 | Route::post('album-list','WorkController@albumList'); //专辑列表 | 21 | Route::post('album-list','WorkController@albumList'); //专辑列表 |
22 | Route::post('submit-tme','WorkController@submitTme'); //专辑上线 | ||
22 | Route::post('get-album','WorkController@getAlbum'); //获取专辑详情 | 23 | Route::post('get-album','WorkController@getAlbum'); //获取专辑详情 |
23 | Route::post('del-album','WorkController@delAlbum'); //删除专辑草稿 | 24 | // Route::post('del-album','WorkController@delAlbum'); //删除专辑草稿 |
24 | Route::post('create-shower','WorkController@createShower'); //艺人创建 | 25 | Route::post('create-shower','WorkController@createShower'); //艺人创建 |
25 | Route::post('shower-list','WorkController@showerList'); //艺人查询 | 26 | Route::post('shower-list','WorkController@showerList'); //艺人查询 |
26 | Route::post('get-leaders','WorkController@getLeaders'); //查询候选负责人 | 27 | Route::post('get-leaders','WorkController@getLeaders'); //查询候选负责人 |
27 | Route::post('check-repeat','WorkController@checkRepeat'); //作品重复检测 | 28 | Route::post('check-repeat','WorkController@checkRepeat'); //作品重复检测 |
28 | Route::post('original-company','WorkController@originalCompany'); //原始版权公司列表 | 29 | Route::post('original-company','WorkController@originalCompany'); //原始版权公司列表 |
29 | Route::post('batch-upload-mq-list','WorkController@batchUploadMqList'); //作品批量上传任务列表 | ||
30 | Route::post('work-file','WorkController@workFile'); //作品录入文件上传 | 30 | Route::post('work-file','WorkController@workFile'); //作品录入文件上传 |
31 | Route::post('sign-subject','WorkController@signSubject'); //获取授权主体列表 | 31 | Route::post('sign-subject','WorkController@signSubject'); //获取授权主体列表 |
32 | 32 | ... | ... |
-
Please register or sign in to post a comment