add:修改pcms数据下发接口,统一访问前缀

This commit is contained in:
2510220824
2021-10-16 09:46:26 +08:00
parent 89116af8bf
commit a68d9c9e9d
3 changed files with 3 additions and 3 deletions
@@ -42,7 +42,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
addInterceptor.excludePathPatterns("/api/sarStandardsInfo/sar-standards-info/exportStandardsInfoExcel");
//pcms项目数据下发开放接口
addInterceptor.excludePathPatterns("/api/sarStandProjectLibrary/save");
addInterceptor.excludePathPatterns("/slrs/sar-stand-project-team/save");
addInterceptor.excludePathPatterns("/api/sar-stand-project-team/save");
//tc模块结构单元数据
addInterceptor.excludePathPatterns("/api/sarModelTree/save");
//同步用户数据
@@ -34,7 +34,7 @@ import java.util.*;
*/
@RestController
@Api(description = "|SarStandProjectLibrary|")
@RequestMapping("/api/sarStandProjectLibrary")
@RequestMapping("/${restPath}/sarStandProjectLibrary")
@Slf4j
public class SarStandProjectLibraryController extends BaseController<SarStandProjectLibrary> {
@Resource
@@ -29,7 +29,7 @@ import java.util.ArrayList;
*/
@RestController
@Api(description = "|SarStandProjectTeam|")
@RequestMapping("/slrs/sar-stand-project-team")
@RequestMapping("/${restPath}/sar-stand-project-team")
@Slf4j
public class SarStandProjectTeamController extends BaseController<SarStandProjectTeam> {