@@ -40,7 +40,7 @@ public class TestController extends BaseController
users.put(2, new UserEntity(2, "ry", "admin123", "15666666666"));
}
- @Anonymous
+// @Anonymous
@ApiOperation("获取用户列表")
@GetMapping("/list")
public R<List<UserEntity>> userList()
@@ -73,7 +73,7 @@ spring:
# 端口,默认为6379
port: 6379
# 数据库索引
- database: 0
+ database: 6
# 密码
password: hm123456
# 连接超时时间
@@ -158,12 +158,12 @@ public class Constants
/**
* 自动识别json对象白名单配置(仅允许解析的包名,范围越小越安全)
*/
- public static final String[] JSON_WHITELIST_STR = { "com.ruoyi" };
+ public static final String[] JSON_WHITELIST_STR = { "com.ruoyi","com.huimv" };
* 定时任务白名单配置(仅允许访问的包名,如其他需要可以自行添加)
- public static final String[] JOB_WHITELIST_STR = { "com.ruoyi.quartz.task" };
+ public static final String[] JOB_WHITELIST_STR = { "com.ruoyi.quartz.task","com.huimv.quartz.task" };
* 定时任务违规的字符