ÎļþÃû´Ó se-common/src/main/java/com/terra/common/constant/Constants.java ÐÞ¸Ä |
| | |
| | | package com.terra.common.constant; |
| | | package com.terra.gateway.constant; |
| | | |
| | | /** |
| | | * éç¨å¸¸éä¿¡æ¯ |
| | | * |
| | | * @author admin |
| | | * @author ruoyi |
| | | */ |
| | | public class Constants |
| | | { |
| | |
| | | /** |
| | | * èªå¨è¯å«json对象ç½ååé
ç½®ï¼ä»
å
许解æçå
åï¼èå´è¶å°è¶å®å
¨ï¼ |
| | | */ |
| | | public static final String[] JSON_WHITELIST_STR = { "org.springframework", "com.terra" }; |
| | | public static final String[] JSON_WHITELIST_STR = { "org.springframework", "com.ruoyi" }; |
| | | |
| | | /** |
| | | * 宿¶ä»»å¡ç½ååé
ç½®ï¼ä»
å
许访é®çå
åï¼å¦å
¶ä»éè¦å¯ä»¥èªè¡æ·»å ï¼ |
| | | */ |
| | | public static final String[] JOB_WHITELIST_STR = { "com.terra.job.task" }; |
| | | public static final String[] JOB_WHITELIST_STR = { "com.ruoyi.job.task" }; |
| | | |
| | | /** |
| | | * 宿¶ä»»å¡è¿è§çå符 |
| | | */ |
| | | public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml", |
| | | "org.springframework", "org.apache", "com.terra.common.utils.file" }; |
| | | "org.springframework", "org.apache", "com.terra" }; |
| | | } |