直接上代码
application.yml
#学生角色id
roleId:
studentRoleId: 133736955669980
代码中引用
@Value(value = "${roleId.studentRoleId}")
private String studentRoleId;
直接上代码
application.yml
#学生角色id
roleId:
studentRoleId: 133736955669980
代码中引用
@Value(value = "${roleId.studentRoleId}")
private String studentRoleId;