寒服更新
This commit is contained in:
@@ -15,6 +15,7 @@ class _DPS_Login_Gateway_ {
|
||||
try {
|
||||
local HS = HttpServer("0.0.0.0", "41817");
|
||||
HS.Listen(function(SocketObject, Header, Msg) {
|
||||
print("HS.Listen")
|
||||
getroottable()._DPS_Login_Gateway_Object_._HttpServer_Event_DPS_(SocketObject, Header, Msg);
|
||||
});
|
||||
} catch (exception) {
|
||||
@@ -134,6 +135,7 @@ class _DPS_Login_Gateway_ {
|
||||
}
|
||||
|
||||
function _HttpServer_Event_DPS_(SocketObject, Header, Msg) {
|
||||
print("_HttpServer_Event_DPS_")
|
||||
if (PackHandleMap.rawin(Header.path)) {
|
||||
local Jso = null;
|
||||
try {
|
||||
@@ -142,6 +144,7 @@ class _DPS_Login_Gateway_ {
|
||||
|
||||
}
|
||||
if (!Jso) return;
|
||||
print(Jso);
|
||||
PackHandleMap[Header.path](SocketObject, Header, Jso);
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user