관련사이트
parent
3b11c1bf11
commit
d50677efff
File diff suppressed because it is too large
Load Diff
|
|
@ -23,6 +23,7 @@
|
||||||
"react-apexcharts": "^1.4.0",
|
"react-apexcharts": "^1.4.0",
|
||||||
"react-bootstrap": "^2.9.0",
|
"react-bootstrap": "^2.9.0",
|
||||||
"react-copy-to-clipboard": "^5.1.0",
|
"react-copy-to-clipboard": "^5.1.0",
|
||||||
|
"react-countup": "^6.5.3",
|
||||||
"react-csv": "^2.2.2",
|
"react-csv": "^2.2.2",
|
||||||
"react-datepicker": "^4.8.0",
|
"react-datepicker": "^4.8.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
|
|
@ -33,8 +34,10 @@
|
||||||
"react-quill": "^2.0.0",
|
"react-quill": "^2.0.0",
|
||||||
"react-router-dom": "^6.4.0",
|
"react-router-dom": "^6.4.0",
|
||||||
"react-scripts": "5.0.1",
|
"react-scripts": "5.0.1",
|
||||||
|
"react-slick": "^0.30.2",
|
||||||
"react-syntax-highlighter": "^15.5.0",
|
"react-syntax-highlighter": "^15.5.0",
|
||||||
"recharts": "^2.10.3",
|
"recharts": "^2.10.3",
|
||||||
|
"slick-carousel": "^1.8.1",
|
||||||
"styled-components": "^6.0.9",
|
"styled-components": "^6.0.9",
|
||||||
"web-vitals": "^2.1.4"
|
"web-vitals": "^2.1.4"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -507,15 +507,21 @@ public class AdminConfigController extends BaseController {
|
||||||
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
||||||
})
|
})
|
||||||
@RequestMapping(method = RequestMethod.GET, value = "/about-site-mgt/list", consumes = MediaType.APPLICATION_JSON_VALUE)
|
@RequestMapping(method = RequestMethod.GET, value = "/about-site-mgt/list", consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||||
public ResultVO getPartnerSiteList() throws Exception {
|
public ResultVO getPartnerSiteList(@AuthenticationPrincipal LoginVO user, HttpServletRequest request) throws Exception {
|
||||||
ResultVO resultVO = new ResultVO();
|
ResultVO resultVO = new ResultVO();
|
||||||
Map<String, Object> resultMap = new HashMap<>();
|
Map<String, Object> resultMap = new HashMap<>();
|
||||||
List<TnPartnerSite> tnPartnerSite = configService.selectPartnerSiteList();
|
List<TnPartnerSite> tnPartnerSite = configService.selectPartnerSiteList();
|
||||||
for (TnPartnerSite partnerSite : tnPartnerSite) {
|
/*for (TnPartnerSite partnerSite : tnPartnerSite) {
|
||||||
String fileGrpId = partnerSite.getFileGrpId();
|
String fileGrpId = partnerSite.getFileGrpId();
|
||||||
String filePath = fileService.findByFileGrpId(fileGrpId).get(0).getFilePath();
|
List<TnAttachFile> files = fileService.findByFileGrpId(fileGrpId);
|
||||||
|
if (!files.isEmpty()) {
|
||||||
|
String filePath = files.get(0).getFilePath();
|
||||||
partnerSite.setFilePath(filePath);
|
partnerSite.setFilePath(filePath);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
partnerSite.setFilePath(null);
|
||||||
|
}
|
||||||
|
}*/
|
||||||
resultMap.put("partnerSiteList", tnPartnerSite);
|
resultMap.put("partnerSiteList", tnPartnerSite);
|
||||||
resultVO.setResult(resultMap);
|
resultVO.setResult(resultMap);
|
||||||
return resultVO;
|
return resultVO;
|
||||||
|
|
@ -531,7 +537,7 @@ public class AdminConfigController extends BaseController {
|
||||||
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
||||||
})
|
})
|
||||||
@RequestMapping(method = RequestMethod.GET, value = "/about-site-mgt/get-site-image")
|
@RequestMapping(method = RequestMethod.GET, value = "/about-site-mgt/get-site-image")
|
||||||
public void getSiteImage(HttpServletResponse response, @RequestParam String fileGrpId) throws Exception {
|
public void getSiteImage(@AuthenticationPrincipal LoginVO user, HttpServletRequest request, HttpServletResponse response, @RequestParam String fileGrpId) throws Exception {
|
||||||
List<TnAttachFile> dbImgList = fileService.findByFileGrpId(fileGrpId);
|
List<TnAttachFile> dbImgList = fileService.findByFileGrpId(fileGrpId);
|
||||||
String realFile = dbImgList.get(0).getFilePath();
|
String realFile = dbImgList.get(0).getFilePath();
|
||||||
String fileNm = dbImgList.get(0).getFileNewName();
|
String fileNm = dbImgList.get(0).getFileNewName();
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ public class SecurityConfig {
|
||||||
"/search/doc",
|
"/search/doc",
|
||||||
|
|
||||||
/* 관련사이트 이미지 조회 */
|
/* 관련사이트 이미지 조회 */
|
||||||
"/admin/config/get-site-image/**",
|
"/admin/config/about-site-mgt/get-site-image/**",
|
||||||
|
|
||||||
/*권한별 메뉴 호출*/
|
/*권한별 메뉴 호출*/
|
||||||
"/leftNav/menu"
|
"/leftNav/menu"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue