no message
Showing
2 changed files
with
3 additions
and
2 deletions
| ... | @@ -46,8 +46,8 @@ public class UpgradeController extends BaseController { | ... | @@ -46,8 +46,8 @@ public class UpgradeController extends BaseController { |
| 46 | public R<String> list() { | 46 | public R<String> list() { |
| 47 | try { | 47 | try { |
| 48 | ResourceVo resourceVo = service.list(); | 48 | ResourceVo resourceVo = service.list(); |
| 49 | // ObjectMapper objectMapper = new ObjectMapper(); | 49 | ObjectMapper objectMapper = new ObjectMapper(); |
| 50 | // String json = objectMapper.writeValueAsString(resourceVo); | 50 | String json = objectMapper.writeValueAsString(resourceVo); |
| 51 | return R.ok(MessageUtils.message("system.success"),EncryptUtils.encryptByAes(json)); | 51 | return R.ok(MessageUtils.message("system.success"),EncryptUtils.encryptByAes(json)); |
| 52 | } | 52 | } |
| 53 | catch(Exception e){ | 53 | catch(Exception e){ | ... | ... |
| ... | @@ -136,6 +136,7 @@ security: | ... | @@ -136,6 +136,7 @@ security: |
| 136 | # actuator 监控配置 | 136 | # actuator 监控配置 |
| 137 | - /actuator | 137 | - /actuator |
| 138 | - /actuator/** | 138 | - /actuator/** |
| 139 | - /core/upgrade/list1 | ||
| 139 | 140 | ||
| 140 | # MyBatisPlus配置 | 141 | # MyBatisPlus配置 |
| 141 | # https://baomidou.com/config/ | 142 | # https://baomidou.com/config/ | ... | ... |
-
Please register or sign in to post a comment