Commit 887e8618 authored by 李尚科's avatar 李尚科

fix

parent 000d3e8b
Pipeline #14105 passed with stage
in 48 seconds
......@@ -17,8 +17,8 @@ module.exports = appInfo => {
domainWhiteList: [],
};
config.middleware = [ 'errorHandler', 'deviceLogin', 'deviceInit', 'responseSet' ];
// config.middleware = [];
// config.middleware = [ 'errorHandler', 'deviceLogin', 'deviceInit', 'responseSet' ];
config.middleware = [];
exports.multipart = {
// 不用steam用file
......@@ -131,6 +131,13 @@ module.exports = appInfo => {
},
};
exports.session = {
key: 'SESSION_ID',
maxAge: 24 * 3600 * 1000, // 1 天
httpOnly: true,
encrypt: true,
};
config.PHP_URL = 'https://kaifa.jianbing.com';
config.NODE_URL = 'https://uat-nginx.jianbing.com/user_api/v1';
config.NODE_BASE_URL = 'https://uat-nginx.jianbing.com';
......@@ -160,6 +167,7 @@ module.exports = appInfo => {
config.TX_LBS_KEY = 'TNHBZ-A7C36-5DISQ-EM2JH-332V5-PGFW5';
config.TX_LBS_DISTANCE_URL = 'https://apis.map.qq.com/ws/distance/v1/'; // 距离计算(一对多)
config.TX_LBS_ADDRESS_URL = 'https://apis.map.qq.com/ws/geocoder/v1/'; // 地址解析;逆地址解析
config.TX_LBS_URL = 'https://apis.map.qq.com/ws'; // 地址解析;逆地址解析
return config;
};
......@@ -146,6 +146,7 @@ module.exports = appInfo => {
config.TX_LBS_KEY = process.env.TX_LBS_KEY;
config.TX_LBS_DISTANCE_URL = process.env.TX_LBS_DISTANCE_URL; // 距离计算(一对多)
config.TX_LBS_ADDRESS_URL = process.env.TX_LBS_ADDRESS_URL; // 地址解析;逆地址解析
config.TX_LBS_URL = process.env.TX_LBS_URL; //腾讯MAP API
return config;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment