diff --git a/24Hour/Controllers/Common/LawyerArchivesController.cs b/24Hour/Controllers/Common/LawyerArchivesController.cs
index 7539aba..587109a 100644
--- a/24Hour/Controllers/Common/LawyerArchivesController.cs
+++ b/24Hour/Controllers/Common/LawyerArchivesController.cs
@@ -356,21 +356,35 @@ namespace _24Hour.Controllers.Common
///
[HttpGet]
[Route("QueryFileFromtwenty")]
- public Task> QueryFileFromtwenty(string bmsah)
+ public Task QueryFileFromtwenty(string bmsah)
{
- Result res = new Result();
if (bmsah == "安北检刑诉受[2023]433333333333号")
{
-
- res.IsSucceed = true;
var a = GetInfo();
- res.result = a;
+ var data = new
+ {
+ id = a.jzbh,
+ lable = a.jzmc,
+ children = a?.jzml?.Select(x => new
+ {
+ id = x.mlbh,
+ lable = x.mlxsmc,
+ children = x.jzwj.Select(q => new
+ {
+ id = q.wjxh,
+ lable = q.wjxsmc,
+ filepath = q.jpgwjlj
+ })
+ })
+ };
+ result.IsSucceed = true;
+ result.result = data;
}
else
{
- res.IsSucceed = false;
+ result.IsSucceed = false;
}
- return Task.FromResult(res);
+ return Task.FromResult(result);
}
private JZJBXXDto GetInfo()
{
@@ -389,6 +403,17 @@ namespace _24Hour.Controllers.Common
return convert;
}
///
+ /// 上传已选中的第三级页码的id
+ ///
+ ///
+ ///
+ ///
+ [HttpPost("AddArchivesInfoByChildId")]
+ public Task AddArchivesInfoByChildId(AddArchivesInfoInput input)
+ {
+ return Task.FromResult(result);
+ }
+ ///
/// 添加卷宗信息
///
///
@@ -400,7 +425,6 @@ namespace _24Hour.Controllers.Common
Result res = new Result();
try
{
-
var data = mapper.Map(dto);
var mls = dto.jzml.ToList();
@@ -417,7 +441,7 @@ namespace _24Hour.Controllers.Common
res.result = dto;
return res;
}
- catch(Exception ex)
+ catch (Exception ex)
{
result.IsSucceed = false;
return res;
@@ -426,4 +450,4 @@ namespace _24Hour.Controllers.Common
#endregion
}
-}
\ No newline at end of file
+}
diff --git a/24Hour/appsettings.json b/24Hour/appsettings.json
index 010af95..120c84b 100644
--- a/24Hour/appsettings.json
+++ b/24Hour/appsettings.json
@@ -8,7 +8,7 @@
"AllowedHosts": "*",
"ConnectionStrings": {
"DBType": "MySQL",
- "MySQLConnString": "server=192.168.0.251;Database=equipmentrearend;Uid=root;Pwd=sa@admin;Allow User Variables=True;SslMode=none;AllowPublicKeyRetrieval=True;"
+ "MySQLConnString": "server=127.0.0.1;Database=equipmentrearend;Uid=root;Pwd=insght;Allow User Variables=True;SslMode=none;AllowPublicKeyRetrieval=True;"
},
//JwtConfig
"JwtConfiguration": {