using MediatR; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlexJobApi.Core { /// /// 文字识别身份证背面 /// [Resource([EnumResourceController.CommonServerOcrUtils], Method = EnumResourceMethod.Post)] public class GetIdentityBackOcrCommand : IRequest { /// /// 通道 /// public EnumOcrAccess Access { get; set; } /// /// 场景 /// public string Scene { get; set; } /// /// 链接地址 /// public string Url { get; set; } /// /// 是否为云存储相对地址 /// public bool IsOssUrl { get; set; } } /// /// 文字识别身份证 /// public class GetIdentityBackOcrCommandResult { /// /// 地址 /// public string Url { get; set; } /// /// 模型 /// public BaiduOcrIdentityBackResultModel Model { get; set; } } }