ปรับปรุงหลายข้อ

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-07-19 16:47:05 +07:00
parent dce57d2ca1
commit 38a2e1fe88
7 changed files with 120 additions and 97 deletions

View File

@@ -101,6 +101,9 @@ namespace TodoAPI2.Controllers
string reportsite = MyHelper.GetConfig(Configuration, "JasperReportServer:reportsite");
string username = MyHelper.GetConfig(Configuration, "JasperReportServer:username");
string password = MyHelper.GetConfig(Configuration, "JasperReportServer:password");
_repository.SetEvaDate(model);
string url = $"{mainurl}{reportsite}/rep_eva02.{model.filetype}?{MyHelper.GetParameterForJasperReport(model)}&j_username={username}&j_password={password}";
var data = httpclient.DownloadData(url);