mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-23 11:09:29 +08:00
部门管理
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
package xyz.playedu.api.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@Data
|
||||
public class PlayEduConfig {
|
||||
public static String REDIS_PREFIX = "playedu:";
|
||||
|
||||
@Value("${spring.profiles.active}")
|
||||
private String env;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user