|
@@ -39,6 +39,22 @@ module.exports = appInfo => {
|
|
|
// myAppName: 'egg',
|
|
|
};
|
|
|
|
|
|
+ config.appInfo = {
|
|
|
+ id: 'wx74f916cbbb2173fa',
|
|
|
+ secret: '3cc515d634c854d60ec8b341119ada09',
|
|
|
+ store: '1606113941',
|
|
|
+ storeKey: 'hongtaiyuedawangluohuliankejighw',
|
|
|
+ };
|
|
|
+
|
|
|
+ // redis config
|
|
|
+ config.redis = {
|
|
|
+ client: {
|
|
|
+ port: 6379, // Redis port
|
|
|
+ host: '127.0.0.1', // Redis host
|
|
|
+ password: 123456,
|
|
|
+ db: 0,
|
|
|
+ },
|
|
|
+ };
|
|
|
return {
|
|
|
...config,
|
|
|
...userConfig,
|