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