feat : sts
This commit is contained in:
@@ -96,8 +96,8 @@ class AliStsService extends BaseService
|
||||
$res = $this->getAliStsControls($payload);
|
||||
$this->log->info(__CLASS__.':'.__FUNCTION__.':授权oss信息:'.json_encode($res));
|
||||
|
||||
if (empty($res) || empty($res->body->credentials)) throw new ErrException('授权失败');
|
||||
$aliResponse = $res->body->credentials;
|
||||
if (empty($aliResponse)) throw new ErrException('授权失败');
|
||||
|
||||
return $this->return->success('success',[
|
||||
'access_key_id' => $aliResponse->accessKeyId,
|
||||
|
||||
Reference in New Issue
Block a user