瀏覽代碼

竖井类型获取,参数调整,项目id从header取

lvxianyun 3 年之前
父節點
當前提交
1895d709b9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/persagy/proxy/adm/controller/AdmShaftController.java

+ 2 - 1
src/main/java/com/persagy/proxy/adm/controller/AdmShaftController.java

@@ -229,7 +229,8 @@ public class AdmShaftController {
      * @throws Exception
      */
     @PostMapping("/query-shaft-functype")
-    public AdmResponse queryShFuncType(@QueryParam("projectId") String projectId) throws Exception {       
+    public AdmResponse queryShFuncType() throws Exception {
+        String projectId = AdmContextUtil.toDmpContext().getProjectId();
         if(StrUtil.isNotEmpty(projectId)){
             AdmResponse admResponse = AdmResponse.success();
             //查询参数请求查询的类型是否存在