Skip to content

Commit

Permalink
Merge pull request #71 from csthenry/dev
Browse files Browse the repository at this point in the history
fix: 数据库连接名称
  • Loading branch information
csthenry authored Jun 27, 2023
2 parents 75cb5df + 6ef8406 commit 6a99912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usermanagework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

UserManageWork::UserManageWork(QObject* parent) : QObject(parent)
{
db_service.addDatabase(DB, "AttendManageWork_DB");
db_service.addDatabase(DB, "UserManageWork_DB");
DB.setConnectOptions("MYSQL_OPT_RECONNECT=1"); //超时重连
}

Expand Down

0 comments on commit 6a99912

Please sign in to comment.