示例#1
0
        public async Task <IActionResult> AddApiSecret(ClientSecretDto apiSecret)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelStateErrors));
            }
            var result = await _clientAppService.AddClientSecretAsync(apiSecret);

            return(ResultResponse(result, "添加ApiSecret成功"));
        }