Commit 09fa2065 authored by 郭志伟's avatar 郭志伟

fix: 问题修复

parent d02b8452
...@@ -3,6 +3,6 @@ import config from '../config'; ...@@ -3,6 +3,6 @@ import config from '../config';
export default { export default {
getPageById(params) { getPageById(params) {
return http.get(`${config.apiHost}/editor/get/${params.pageId}`); return http.get(`${config.apiHost}editor/get/${params.pageId}`);
} }
}; };
\ No newline at end of file
...@@ -4,6 +4,9 @@ const path = require('path'); ...@@ -4,6 +4,9 @@ const path = require('path');
export default (appInfo: EggAppConfig) => { export default (appInfo: EggAppConfig) => {
const exports: any = {}; const exports: any = {};
exports.logger = {
dir: '/home/quant_group/logs',
};
const { redis } = require(path.resolve('./config/apollo.json')); const { redis } = require(path.resolve('./config/apollo.json'));
exports.redis = { exports.redis = {
client: redis client: redis
......
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