Authored by 毕凯

Merge branch 'feature/config' into 'release/6.6.1'

无用配置清理



See merge request !1401
... ... @@ -104,8 +104,8 @@ passport.use(new LocalStrategy({
// wechat 登录
passport.use('weixin', new WeixinStrategy({
clientID: config.thirdLogin.wechat.appID,
clientSecret: config.thirdLogin.wechat.appSecret,
clientID: 'wx75e5a7c0c88e45c2',
clientSecret: 'ce21ae4a3f93852279175a167e54509b',
callbackURL: `${siteUrl}/passport/login/wechat/callback`,
requireState: true,
authorizationURL: 'https://open.weixin.qq.com/connect/oauth2/authorize',
... ...
... ... @@ -68,9 +68,6 @@ module.exports = {
index: '//m.yohobuy.com'
},
useCache: false,
interfaceShunt: {
open: false
},
loggers: {
infoFile: {
close: true,
... ... @@ -104,12 +101,6 @@ module.exports = {
debugStdout: true
}
},
thirdLogin: {
wechat: {
appID: 'wx75e5a7c0c88e45c2',
appSecret: 'ce21ae4a3f93852279175a167e54509b'
}
},
zookeeperServer: '127.0.0.1:2181',
alipayConfig: {
payUrl: 'https://mapi.alipay.com/gateway.do',
... ... @@ -194,10 +185,6 @@ if (isProduction) {
yohoNowApi: 'http://new.yohoboys.com/'
},
useCache: true,
interfaceShunt: {
open: false,
url: 'http://123.206.2.55/strategy'
},
zookeeperServer: 'web.zookeeper.yohoops.org:2181',
alipayConfig: {
payUrl: 'https://mapi.alipay.com/gateway.do',
... ...