@@ -36,6 +36,16 @@ module.exports = appInfo => {
},
};
+ // redis config
+ config.redis = {
+ client: {
+ port: 6379, // Redis port
+ host: '127.0.0.1', // Redis host
+ password: 123456,
+ db: 0,
+ },
+ };
+
// 安全配置
config.security = {
csrf: {