Browse Source

增加浙政钉信息拉去的任务修改

tags/24080901
WendyYang 1 year ago
parent
commit
6a4f4693f9
3 changed files with 6 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/common/handler/GlobalResponseHandler.java
  2. +2
    -0
      pmapi/src/main/resources/security/auth-dev.yml
  3. +2
    -0
      pmapi/src/main/resources/security/auth-prod.yml

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/common/handler/GlobalResponseHandler.java View File

@@ -26,7 +26,8 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
"com.ningdatech.pmapi.meeting.controller",
"com.ningdatech.pmapi.expert.controller",
"com.ningdatech.pmapi.sms.controller",
"com.ningdatech.pmapi.workbench.controller"
"com.ningdatech.pmapi.workbench.controller",
"com.ningdatech.pmapi.ding.controller"
})
public class GlobalResponseHandler implements ResponseBodyAdvice<Object> {



+ 2
- 0
pmapi/src/main/resources/security/auth-dev.yml View File

@@ -34,6 +34,7 @@ security:
- /api/v1/expert/get-zzd-info
- /file/upload
- /file/download
- /api/v1/zwdd/pull/**
ignore-csrf-urls:
- /api/v1/user/auth/**
- /v2/api-docs
@@ -60,6 +61,7 @@ security:
- /api/v1/expert/get-zzd-info
- /file/upload
- /file/download
- /api/v1/zwdd/pull/**
role-map:
"engineer":
"project_manager":


+ 2
- 0
pmapi/src/main/resources/security/auth-prod.yml View File

@@ -34,6 +34,7 @@ security:
- /api/v1/expert/get-zzd-info
- /file/upload
- /file/download
- /api/v1/zwdd/pull/**
ignore-csrf-urls:
- /api/v1/user/auth/**
- /v2/api-docs
@@ -60,6 +61,7 @@ security:
- /api/v1/expert/get-zzd-info
- /file/upload
- /file/download
- /api/v1/zwdd/pull/**
role-map:
"engineer":
"project_manager":


Loading…
Cancel
Save