更新
This commit is contained in:
@@ -36,7 +36,7 @@ class UploadController extends BaseAdminController
|
||||
{
|
||||
try {
|
||||
$cid = $this->request->post('cid', 0);
|
||||
$result = UploadService::image($cid);
|
||||
$result = UploadService::image($cid, $this->adminId);
|
||||
return $this->success('上传成功', $result);
|
||||
} catch (Exception $e) {
|
||||
return $this->fail($e->getMessage());
|
||||
@@ -53,7 +53,7 @@ class UploadController extends BaseAdminController
|
||||
{
|
||||
try {
|
||||
$cid = $this->request->post('cid', 0);
|
||||
$result = UploadService::video($cid);
|
||||
$result = UploadService::video($cid, $this->adminId);
|
||||
return $this->success('上传成功', $result);
|
||||
} catch (Exception $e) {
|
||||
return $this->fail($e->getMessage());
|
||||
@@ -70,7 +70,7 @@ class UploadController extends BaseAdminController
|
||||
{
|
||||
try {
|
||||
$cid = $this->request->post('cid', 0);
|
||||
$result = UploadService::file($cid);
|
||||
$result = UploadService::file($cid, $this->adminId);
|
||||
return $this->success('上传成功', $result);
|
||||
} catch (Exception $e) {
|
||||
return $this->fail($e->getMessage());
|
||||
|
||||
Reference in New Issue
Block a user