Browse Source

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

lvxianyun 3 years ago
parent
commit
1895d709b9

+ 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();
             //查询参数请求查询的类型是否存在