Skip to content

Commit 8418926

Browse files
committed
upate source
1 parent 8830930 commit 8418926

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

Source/Middleware/GameServer/App.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</appSettings>
2828
<connectionStrings>
2929
<!--<add name="SnsCenter" providerName="SqlDataProvider" connectionString="Data Source=localhost;Database=snscenter;Uid=sa;Pwd=123;Pooling=true;"/>
30-
<add name="PayCenter" providerName="SqlDataProvider" connectionString="Data Source=localhost;Database=PayDB;Uid=sa;Pwd=123;Pooling=true;"/>-->
31-
<add name="ConnData" providerName="SqlDataProvider" connectionString="Data Source=localhost;Database=PHData;Uid=game_user;Pwd=123;"/>
30+
<add name="PayCenter" providerName="SqlDataProvider" connectionString="Data Source=localhost;Database=PayDB;Uid=sa;Pwd=123;Pooling=true;"/>
31+
<add name="ConnData" providerName="SqlDataProvider" connectionString="Data Source=localhost;Database=PHData;Uid=game_user;Pwd=123;"/>-->
3232
</connectionStrings>
3333
</configuration>

Source/Middleware/GameServer/NLog.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'Copy to Output Directory' option in Visual Studio.
55
-->
66
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
7-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
7+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" autoReload="true">
88
<variable name="logDirectory" value="Log"/>
99
<targets>
1010
<target name="Info" xsi:type="File" fileName="${logDirectory}/Info/${date:format=yyyyMMddHH}.txt" layout="${message}"/>
@@ -20,7 +20,7 @@
2020
<rules>
2121
<logger name="*" level="Info" writeTo="Info,Console"/>
2222
<logger name="*" level="Debug" writeTo="Debug"/>
23-
<logger name="*" level="Error" writeTo="Exception"/>
23+
<logger name="*" level="Error" writeTo="Exception,Console"/>
2424
<logger name="*" level="Fatal" writeTo="Fatal"/>
2525
<logger name="*" level="Warn" writeTo="Warn"/>
2626
<logger name="Client" level="Trace" writeTo="Client"/>

Source/Middleware/GameServer/Script/Model/GuestUser.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,7 @@ protected override int GetIdentityId()
6767
{
6868
return UserId;
6969
}
70-
71-
public override string GetSessionId()
72-
{
73-
return SId;
74-
}
75-
70+
7671
public override int GetUserId()
7772
{
7873
return UserId;

Source/Middleware/GameServer/Script/Model/UserRanking.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ THE SOFTWARE.
3030
namespace GameServer.Model
3131
{
3232
/// <summary>
33-
/// 鐜╁鎺掕姒滃疄浣撶被
33+
/// user ranking
3434
/// </summary>
3535
[Serializable, ProtoContract]
3636
[EntityTable(CacheType.Entity, "ConnData")]

0 commit comments

Comments
 (0)