修改获取授权
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-05-09 09:28:53 +08:00
parent e205ea0018
commit d34be9b07d
1 changed files with 2 additions and 2 deletions

View File

@ -187,10 +187,10 @@ namespace IRaCIS.Api.Controllers
#region 老项目依赖 #region 老项目依赖
[HttpGet("user/GenerateSTS")] [HttpGet("user/GenerateSTS")]
public IResponseOutput GenerateSTS([FromServices] IOptionsMonitor<AliyunOSSOptions> options) public IResponseOutput GenerateSTS([FromServices] IOptionsMonitor<ObjectStoreServiceOptions> options)
{ {
var ossOptions = options.CurrentValue;
var ossOptions = options.CurrentValue.AliyunOSS;
var client = new Client(new AlibabaCloud.OpenApiClient.Models.Config() var client = new Client(new AlibabaCloud.OpenApiClient.Models.Config()
{ {