починил странную ошибку
This commit is contained in:
parent
33d22bbb24
commit
30a3f088f7
@ -102,14 +102,14 @@ namespace CaseAccountingCustomerView.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public int[]? HearingLawyerList([FromBody] LawyerHearingListBindingModel listModel)
|
||||
public int[]? SpecializationCaselist([FromBody] LawyerHearingListBindingModel listModel)
|
||||
{
|
||||
if (APIUser.User == null)
|
||||
{
|
||||
return Array.Empty<int>();
|
||||
}
|
||||
byte[]? file = APIUser.PostRequestWithResult<LawyerHearingListBindingModel, byte[]>
|
||||
("api/reportcustomer/lawyerhearinglist", listModel);
|
||||
("api/reportprovider/specializationcaselist", listModel);
|
||||
return file!.Select(b => (int)b).ToArray();
|
||||
}
|
||||
|
||||
|
@ -18,8 +18,8 @@ namespace CaseAccountingDataBaseImplement
|
||||
Host=localhost;
|
||||
Port=5432;
|
||||
Database=CaseAccountingDatabase;
|
||||
Username=courseuser;
|
||||
Password=courseuser");
|
||||
Username=postgres;
|
||||
Password=postgres");
|
||||
}
|
||||
base.OnConfiguring(optionsBuilder);
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ namespace CaseAccountingProviderView.Controllers
|
||||
return Array.Empty<int>();
|
||||
}
|
||||
byte[]? file = APIUser.PostRequestWithResult<CaseSpecializationListBindingModel, byte[]>
|
||||
("api/reportprovider/specializationcaselist", listModel);
|
||||
("api/reportcustomer/lawyerhearinglist", listModel);
|
||||
return file!.Select(b => (int)b).ToArray();
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ namespace CaseAccountingRestApi.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public byte[] LawyerHearingList(LawyerHearingListBindingModel listModel)
|
||||
public byte[] LawyerHearinglist(LawyerHearingListBindingModel listModel)
|
||||
{
|
||||
byte[] file = _reportCustomerLogic.SaveListFile(listModel);
|
||||
return file;
|
||||
|
Loading…
Reference in New Issue
Block a user