import io.github.cdimascio.dotenv.Dotenv; ... public class MyApp { public static void main(String[] args) { Dotenv dotenv = Dotenv.load(); String dbUsername = dotenv.get("DB_USERNAME"); ... } }


上一篇:
下一篇:
切换中文