|
|
|
@@ -1,6 +1,6 @@ |
|
|
|
const mysql = require('think-model-mysql'); |
|
|
|
const redisCache = require('think-cache-redis'); |
|
|
|
|
|
|
|
const {Console, File, DateFile} = require('think-logger3'); |
|
|
|
/** |
|
|
|
* 生产环境 cache adapter config |
|
|
|
* @type {Object} |
|
|
|
@@ -44,3 +44,10 @@ exports.model = { |
|
|
|
// dateStrings: true |
|
|
|
// } |
|
|
|
}; |
|
|
|
|
|
|
|
exports.logger = { |
|
|
|
type: 'console', |
|
|
|
console: { |
|
|
|
handle: Console |
|
|
|
} |
|
|
|
}; |