|
@@ -15,9 +15,9 @@ module.exports = appInfo => {
|
|
|
|
|
|
// use for cookie sign key, should change to your own and keep security
|
|
// use for cookie sign key, should change to your own and keep security
|
|
config.keys = appInfo.name + '_1664237342649_2194';
|
|
config.keys = appInfo.name + '_1664237342649_2194';
|
|
-
|
|
|
|
|
|
+ config.appName = '天恩活泉商城-服务';
|
|
// add your middleware config here
|
|
// add your middleware config here
|
|
- config.middleware = [ 'setUserFromToken', 'checkLogin' ]; // , 'checkLogin'
|
|
|
|
|
|
+ config.middleware = [ 'errorEmail', 'setUserFromToken', 'checkLogin' ]; // , 'checkLogin'
|
|
|
|
|
|
// add your user config here
|
|
// add your user config here
|
|
const userConfig = {
|
|
const userConfig = {
|