数据库更新为本地 buy-lite
This commit is contained in:
@@ -5,15 +5,15 @@ module.exports = {
|
|||||||
mysql: {
|
mysql: {
|
||||||
client: {
|
client: {
|
||||||
// host
|
// host
|
||||||
host: '192.168.1.87',
|
host: '127.0.0.1',
|
||||||
// 端口号
|
// 端口号
|
||||||
port: '3306',
|
port: '3306',
|
||||||
// 用户名
|
// 用户名
|
||||||
user: 'root',
|
user: 'root',
|
||||||
// 密码
|
// 密码
|
||||||
password: 'Cwy@2019',
|
password: '123456',
|
||||||
// 数据库名
|
// 数据库名
|
||||||
database: 'dvcp_oms_dev',
|
database: 'buy-lite',
|
||||||
},
|
},
|
||||||
// 是否加载到 app 上,默认开启
|
// 是否加载到 app 上,默认开启
|
||||||
app: true,
|
app: true,
|
||||||
@@ -23,7 +23,7 @@ module.exports = {
|
|||||||
security: {
|
security: {
|
||||||
csrf: {
|
csrf: {
|
||||||
queryName: "token",
|
queryName: "token",
|
||||||
ignore: ctx => ctx.headers.passport == "c799f2d92de34b97"//md5编码:kubbo&flora
|
ignore: ctx => ctx.headers.passport === "c799f2d92de34b97"//md5编码:kubbo&flora
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user