| | |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @ConfigurationProperties(prefix = "secure.ignored") |
| | | public class IgnoreUrlsConfig { |
| | | |
| | | private List<String> urls = new ArrayList<>(); |
| | | private List<String> urls = Arrays.asList("sccg/admin/systemInfo"); |
| | | |
| | | } |
| | |
| | | public CommonResult<List<UmsAdmin>> getDepartUser(@PathVariable Long departId) { |
| | | return CommonResult.success(adminService.getDepartUser(departId)); |
| | | } |
| | | |
| | | @GetMapping(value = "/systemInfo") |
| | | @ResponseBody |
| | | public String getImages(HttpServletRequest request, HttpServletResponse response) { |
| | | return "遂昌综合执法平台"; |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | @GetMapping(value = "/index") |
| | | @ResponseBody |
| | | public String getImages(HttpServletRequest request, HttpServletResponse response) { |
| | | return "遂昌综合执法平台"; |
| | | |
| | | } |
| | | |
| | | private byte[] getBytes(String fileUrl, String OSSAccessKeyId, String Signature, String sessionId) { |
| | | int index = sessionDic.get(sessionId); |
| | | try { |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | spring: |
| | | profiles: |
| | | active: online |
| | | active: dev |
| | | main: |
| | | allow-circular-references: true |
| | | allow-bean-definition-overriding: true |
| | |
| | | - /**/admin/register |
| | | - /**/admin/info |
| | | - /**/admin/logout |
| | | - /**/admin/systemInfo |
| | | - /dict/** |
| | | - /sccg-region/** |
| | | - /**/system/portal/logo/search |