mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-04-22 11:59:35 +08:00
使用常量
This commit is contained in:
parent
b2368e54a4
commit
1a17fa14b2
@ -32,7 +32,7 @@ namespace Oshima.Core.Controllers
|
||||
if (sql != null)
|
||||
{
|
||||
sql.ExecuteDataSet(ServerLoginLogs.Select_GetLastLoginTime());
|
||||
if (sql.Success && DateTime.TryParse(sql.DataSet.Tables[0].Rows[0]["LastTime"].ToString(), out DateTime date))
|
||||
if (sql.Success && DateTime.TryParse(sql.DataSet.Tables[0].Rows[0][ServerLoginLogs.Column_LastTime].ToString(), out DateTime date))
|
||||
{
|
||||
string month = date.ToString("MMM", CultureInfo.InvariantCulture);
|
||||
int day = date.Day;
|
||||
|
Loading…
x
Reference in New Issue
Block a user