Skip to content

Commit 0e741ab

Browse files
committed
fixed:DBModule_SQLite_QueryLogin name is incorrect
1 parent 8c1ff7a commit 0e741ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

XEngine_Source/XEngine_APPService/XEngine_AuthorizeService/Authorize_TCPTask.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,11 @@ bool XEngine_Client_TCPTask(LPCXSTR lpszClientAddr, LPCXSTR lpszMsgBuffer, int n
345345
APIAddr_IPAddr_SegAddr(tszIPAddr);
346346
if (0 == st_AuthConfig.st_XSql.nDBType)
347347
{
348-
bSuccess = DBModule_SQLite_QueryLogin(st_UserTable.st_UserInfo.tszLoginTime, tszIPAddr);
348+
bSuccess = DBModule_SQLite_QueryLogin(st_UserTable.st_UserInfo.tszUserName, tszIPAddr);
349349
}
350350
else
351351
{
352-
bSuccess = DBModule_MySQL_QueryLogin(st_UserTable.st_UserInfo.tszLoginTime, tszIPAddr);
352+
bSuccess = DBModule_MySQL_QueryLogin(st_UserTable.st_UserInfo.tszUserName, tszIPAddr);
353353
}
354354
//是否存在
355355
if (!bSuccess)

0 commit comments

Comments
 (0)