| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Microsoft.AspNetCore.Mvc.RazorPages; |
| | | using Microsoft.IdentityModel.Abstractions; |
| | | using StackExchange.Profiling.Internal; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | [ApiDescriptionSettings("FileUpdata")] |
| | | public class UpFileController |
| | | { |
| | | /// <summary> |
| | | /// 获取文件 上传token |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | |
| | | |
| | | public Dictionary<string, string> GetToken([FromServices] IEzFileUploadService fileUploadService) |
| | | { |
| | | return fileUploadService.GetToken(); |
| | | } |
| | | /// <summary> |
| | | /// 上传身份证信息 |
| | | /// </summary> |