mirror of
https://github.com/thinkjs/thinkjs.git
synced 2026-01-25 14:42:47 +00:00
23 lines
319 B
JavaScript
23 lines
319 B
JavaScript
'use strict';
|
|
/**
|
|
* db config
|
|
* @type {Object}
|
|
*/
|
|
module.exports = {
|
|
type: 'mysql',
|
|
host: '127.0.0.1',
|
|
port: '',
|
|
name: '',
|
|
user: '',
|
|
pwd: '',
|
|
prefix: 'think_',
|
|
encoding: 'utf8',
|
|
nums_per_page: 10,
|
|
log_sql: true,
|
|
log_connect: true,
|
|
cache: {
|
|
on: true,
|
|
type: '',
|
|
timeout: 3600
|
|
}
|
|
}; |