Commit 318ec652 by 杨明

fixed

1 parent 9d6c2a7e
......@@ -2,13 +2,10 @@ exports.mysql = {
// 单数据库信息配置
client: {
// host
host: "localhost",
// 端口号
port: "3306",
// 用户名
user: "root",
// 密码
password: "123456",
host: "192.168.3.190", // test环境
port: 3306,
username: "dev_user",
password: "df234fl",
// 数据库名
database: "achievements_system",
},
......
......@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-02-16 10:54:22
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-06-12 17:21:25
* @LastEditTime: 2023-06-12 17:32:53
* @FilePath: \achievements-system\config\config.default.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -68,14 +68,20 @@ module.exports = (appInfo) => {
let databaseInfo;
if (isProd) {
databaseInfo = {
host: "localhost",
// 端口号
port: "3306",
// 用户名
user: "root",
// 密码
password: "123456",
host: "192.168.3.190", // test环境
port: 3306,
username: "dev_user",
password: "df234fl",
};
// databaseInfo = {
// host: "localhost",
// // 端口号
// port: "3306",
// // 用户名
// user: "root",
// // 密码
// password: "123456",
// };
} else {
databaseInfo = {
host: "192.168.3.190", // test环境
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!