feat(sip): 添加项目信息查询接口

- 在 ProjectInfoController 中新增 query 接口
-通过 GET 请求和路径参数获取项目信息
- 返回 AjaxResult 封装的项目信息
master
chenhao 2025-06-05 18:00:05 +08:00
parent 094f528e53
commit 3e6feb0237
1 changed files with 7 additions and 0 deletions

View File

@ -123,6 +123,13 @@ public class ProjectInfoController extends BaseController
mmap.put("projectInfo", projectInfo);
return prefix + "/edit";
}
@GetMapping("/query/{id}")
@ResponseBody
public AjaxResult edit(@PathVariable("id") Long id)
{
ProjectInfo projectInfo = projectInfoService.selectProjectInfoById(id);
return AjaxResult.success(projectInfo);
}
/**
*