|
@@ -1,12 +1,17 @@
|
|
|
'use strict';
|
|
|
|
|
|
module.exports = () => {
|
|
|
- const config = exports = {};
|
|
|
+ const config = (exports = {});
|
|
|
|
|
|
config.logger = {
|
|
|
level: 'DEBUG',
|
|
|
consoleLevel: 'DEBUG',
|
|
|
};
|
|
|
+ // 导出配置
|
|
|
+ config.cdn = {
|
|
|
+ repos_root_path: '/usr/local/workspace/service-file/upload',
|
|
|
+ repos_root_url_excel: '/excel',
|
|
|
+ };
|
|
|
|
|
|
config.wxapi = {
|
|
|
appid: 'wxd2e28415cb866c0b', // 微信公众号APPID
|
|
@@ -15,7 +20,8 @@ module.exports = () => {
|
|
|
mchkey: '1qaz2wsx3edc4rfv5tgb6yhn7ujm8ik9', // 商户key
|
|
|
wxurl: 'http://jytz.jilinjobs.cn/api/wxpayback',
|
|
|
payurl: 'https://api.mch.weixin.qq.com/pay/unifiedorder',
|
|
|
- sendDirMq: 'http://www.jilinjobswx.cn/api.weixin.qq.com/cgi-bin/message/template/send?appid=',
|
|
|
+ sendDirMq:
|
|
|
+ 'http://www.jilinjobswx.cn/api.weixin.qq.com/cgi-bin/message/template/send?appid=',
|
|
|
};
|
|
|
// 签到小程序
|
|
|
config.wxapp = {
|
|
@@ -54,7 +60,6 @@ module.exports = () => {
|
|
|
agent: true,
|
|
|
};
|
|
|
|
|
|
-
|
|
|
// redis config
|
|
|
config.redis = {
|
|
|
client: {
|