| | |
| | | private readonly IMediator mediator = mediator; |
| | | |
| | | /// <summary> |
| | | /// 获取阿里云OSS授权信息 |
| | | /// </summary> |
| | | /// <param name="query"></param> |
| | | /// <returns></returns> |
| | | [AllowAnonymous] |
| | | public Task<GetAliyunOSSAcsQueryResult> GetAliyunOSSAcs(GetAliyunOSSAcsQuery query) |
| | | { |
| | | return mediator.Send(query); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 密码登录 |
| | | /// </summary> |
| | | /// <param name="command"></param> |
| | | /// <returns></returns> |
| | | [AllowAnonymous] |
| | | [IfException(ErrorCode = EnumUserErrorCodeType.u1000)] |
| | | public Task<AuthPasswordLoginCallback> PasswordLogin(AuthPasswordLoginCommand command) |
| | | public Task<PasswordLoginCommandCallback> PasswordLogin(PasswordLoginCommand command) |
| | | { |
| | | return mediator.Send(command); |
| | | } |