WorkController.php
2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?php
namespace App\Http\Controllers\Icms;
use Illuminate\Http\Request;
class WorkController extends BaseController
{
/**
* 专辑列表
* @param Request $request
* @return \Illuminate\Http\JsonResponse|mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function albumList(Request $request)
{
//todo:参数验证
// dd(basename($request->getRequestUri()));
return $this->doApi('album-list');
}
/**
* 保存专辑草稿
* @param Request $request
* @return \Illuminate\Http\JsonResponse|mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function saveAlbum(Request $request)
{
//todo:参数验证
return $this->doApi('save-album');
}
public function submitTme()
{
//提交上线库
}
/**
* 获取专辑详情
* @param Request $request
* @return \Illuminate\Http\JsonResponse|mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function getAlbum(Request $request)
{
//todo:数据验证
return $this->doApi('get-album');
}
/**
* 删除专辑草稿(含批量)
* @param Request $request
* @return \Illuminate\Http\JsonResponse|mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function delAlbum(Request $request)
{
//todo:数据验证
return $this->doApi('del-album');
}
/**
* 艺人查询
* @return \Illuminate\Http\JsonResponse|mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function showerList()
{
//todo:参数验证
return $this->doApi('shower-list');
}
public function createShower()
{
//创建艺人
return $this->doApi('create-shower');
}
public function getLeaders()
{
//候选人列表
}
public function checkRepeat()
{
//检查作品重复
}
public function originalCompany()
{
//原始版权公司列表
}
public function albumBatchSubmit()
{
//专辑作品批量提交
}
public function batchUploadMqList()
{
//作品批量上传任务列表
}
public function cqlAlbum()
{
//曲库歌曲导入(post)/获取结果(get)
}
public function workFile()
{
//作品录入文件上传
}
}