Esempio n. 1
0
        /// <summary>
        /// 获取文档
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public async Task <IActionResult> GetDocument(EntityDto <long> input)
        {
            var doc = await Get(input);

            return(await _fileAppService.Download(doc.StorageName, doc.OriginalName, doc.Category));
        }