File tree Expand file tree Collapse file tree 4 files changed +6
-11
lines changed
Source/Middleware/GameServer Expand file tree Collapse file tree 4 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 27
27
</appSettings >
28
28
<connectionStrings >
29
29
<!-- <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;"/>-->
32
32
</connectionStrings >
33
33
</configuration >
Original file line number Diff line number Diff line change 4
4
'Copy to Output Directory' option in Visual Studio.
5
5
-->
6
6
<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 " >
8
8
<variable name =" logDirectory" value =" Log" />
9
9
<targets >
10
10
<target name =" Info" xsi : type =" File" fileName =" ${logDirectory}/Info/${date:format=yyyyMMddHH}.txt" layout =" ${message}" />
20
20
<rules >
21
21
<logger name =" *" level =" Info" writeTo =" Info,Console" />
22
22
<logger name =" *" level =" Debug" writeTo =" Debug" />
23
- <logger name =" *" level =" Error" writeTo =" Exception" />
23
+ <logger name =" *" level =" Error" writeTo =" Exception,Console " />
24
24
<logger name =" *" level =" Fatal" writeTo =" Fatal" />
25
25
<logger name =" *" level =" Warn" writeTo =" Warn" />
26
26
<logger name =" Client" level =" Trace" writeTo =" Client" />
Original file line number Diff line number Diff line change @@ -67,12 +67,7 @@ protected override int GetIdentityId()
67
67
{
68
68
return UserId ;
69
69
}
70
-
71
- public override string GetSessionId ( )
72
- {
73
- return SId ;
74
- }
75
-
70
+
76
71
public override int GetUserId ( )
77
72
{
78
73
return UserId ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ THE SOFTWARE.
30
30
namespace GameServer . Model
31
31
{
32
32
/// <summary>
33
- /// 鐜╁鎺掕姒滃疄浣撶被
33
+ /// user ranking
34
34
/// </summary>
35
35
[ Serializable , ProtoContract ]
36
36
[ EntityTable ( CacheType . Entity , "ConnData" ) ]
You can’t perform that action at this time.
0 commit comments