1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 20:00:27 +08:00

删除重复的signature方法

This commit is contained in:
xiaochong0302 2020-11-23 21:50:37 +08:00
parent 6fa30310dd
commit e03dcb89fa

View File

@ -91,22 +91,4 @@ class UploadController extends Controller
return $this->jsonSuccess($data); return $this->jsonSuccess($data);
} }
/**
* @Get("/sign", name="admin.upload.sign")
*/
public function signatureAction()
{
$service = new StorageService();
$token = $service->getFederationToken();
$data = [
'credentials' => $token->getCredentials(),
'expiredTime' => $token->getExpiredTime(),
'startTime' => time(),
];
return $this->jsonSuccess($data);
}
} }