var config = require("./config"); class Utils { test() { console.log("hahaha",config.tt); } } //初始化类 module.exports =new Utils()