This commit is contained in:
2026-03-24 17:43:52 +08:00
parent d36cec32ea
commit 2b9435744a
8 changed files with 126 additions and 21 deletions
@@ -14,13 +14,13 @@ namespace WebAPI.Controllers
/// 拉取项目安全检查数据
/// </summary>
/// <returns></returns>
public Model.ResponeData getHazardRegisterLists()
public Model.ResponeData getHazardRegisterLists(string projectId = "")
{
var responeData = new Model.ResponeData();
try
{
responeData.code = 1;
responeData.data = APIHazardRegisterSyncService.getHazardRegisterLists();
responeData.data = APIHazardRegisterSyncService.getHazardRegisterLists(projectId);
}
catch (Exception ex)
{
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />
<IISExpressSSLPort />