diff --git a/24Hour/24Hour.csproj b/24Hour/24Hour.csproj
index c7460f4..369ecfb 100644
--- a/24Hour/24Hour.csproj
+++ b/24Hour/24Hour.csproj
@@ -8,8 +8,8 @@
True
e485308c-2f05-470b-b0a4-68f1ec2b3412
Linux
- 1.0.1.16
- 1.0.1.16
+ 1.0.1.17
+ 1.0.1.17
@@ -28,6 +28,7 @@
+
diff --git a/24Hour/TwentySystemProxyClient.cs b/24Hour/TwentySystemProxyClient.cs
index 74a6009..cff895b 100644
--- a/24Hour/TwentySystemProxyClient.cs
+++ b/24Hour/TwentySystemProxyClient.cs
@@ -1,9 +1,11 @@
using com.sun.xml.@internal.xsom;
+using Dto;
using Elight.Entity.APPDto.Lawyer;
using Elight.Utility;
using Elight.Utility.Code;
using Elight.Utility.Extensions;
using Microsoft.AspNetCore.DataProtection;
+using Microsoft.AspNetCore.Mvc;
namespace _24Hour
{
@@ -20,6 +22,19 @@ namespace _24Hour
httpCliet.DefaultRequestHeaders.Add("User-Agent", "HttpClientFactory-Sample");
httpCliet.DefaultRequestHeaders.ConnectionClose = true;
}
+
+ ///
+ /// 申请人资格资料
+ ///
+ ///
+ [HttpPost("UploadImage")]
+ public async Task UploadImage(UploadDto dto)
+ {
+ var request = await httpCliet.PostAsJsonAsync($"/TwentySystem/UploadImage", dto);
+ var response = await request.EnsureSuccessStatusCode().Content.ReadAsStringAsync();
+ return response.ConvertToModel();
+ }
+
public async Task>> GetCaseList(string? casename, string? bmsah, string? dwbm, DateTime? starttime, DateTime? endtime, int page, int size)
{
Result> Result = new();
@@ -91,7 +106,6 @@ namespace _24Hour
}
return Result;
}
-
public async Task> GetArchivesInfo(string bmsah, string dwbm)
{
var result = new Result();
@@ -200,5 +214,28 @@ namespace _24Hour
public string? sfkcz { get; set; }
public string? qlzt { get; set; }
}
+ class MyClass
+ {
+ ///
+ /// 部门受案号
+ ///
+ public string bmsah { get; set; }
+
+ ///
+ /// base64字符串
+ ///
+ public string ImageStr { get; set; }
+
+ ///
+ /// 1423000000100-律师执业证书,
+ /// 1423000000200-律师事务所证,
+ /// 1423000000300-授权委托书,
+ /// 1423000000400-法律援助公函,
+ /// 1423000000500-身份证件 ,
+ /// 1423000000600-关系证明材料,
+ /// 1423000000700-其他
+ ///
+ public string Code { get; set; }
+ }
}
}