Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2023-01-03 11:45:48 +08:00

View File

@@ -5,15 +5,15 @@ module.exports = {
mysql: {
client: {
// host
host: '192.168.1.87',
host: '127.0.0.1',
// 端口号
port: '3306',
// 用户名
user: 'root',
// 密码
password: 'Cwy@2019',
password: '123456',
// 数据库名
database: 'dvcp_oms_dev',
database: 'buy_lite',
},
// 是否加载到 app 上,默认开启
app: true,
@@ -23,7 +23,7 @@ module.exports = {
security: {
csrf: {
queryName: "token",
ignore: ctx => ctx.headers.passport == "c799f2d92de34b97"//md5编码:kubbo&flora
ignore: ctx => ctx.headers.passport === "c799f2d92de34b97"//md5编码:kubbo&flora
}
}
}