Skip to content

Commit 1182e00

Browse files
committed
update:example build
1 parent 4efd5f1 commit 1182e00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

XEngine_Apps/MQCore_TCPApp/MQCore_TCPApp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void MQ_Authorize()
4141

4242
st_ProtocolHdr.wHeader = XENGIEN_COMMUNICATION_PACKET_PROTOCOL_HEADER;
4343
st_ProtocolHdr.unOperatorType = ENUM_XENGINE_COMMUNICATION_PROTOCOL_TYPE_AUTH;
44-
st_ProtocolHdr.unOperatorCode = XENGINE_COMMUNICATION_PROTOCOL_OPERATOR_CODE_MQ_REQUSERLOG;
44+
st_ProtocolHdr.unOperatorCode = XENGINE_COMMUNICATION_PROTOCOL_OPERATOR_CODE_AUTH_REQLOGIN;
4545
st_ProtocolHdr.byVersion = 1;
4646
st_ProtocolHdr.byIsReply = true; //获得处理返回结果
4747
st_ProtocolHdr.wTail = XENGIEN_COMMUNICATION_PACKET_PROTOCOL_TAIL;

XEngine_Apps/MQCore_WSApp/MQCore_WSApp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void MQ_Authorize()
7676
Json::Value st_JsonRoot;
7777
Json::Value st_JsonAuth;
7878
st_JsonRoot["unOperatorType"] = ENUM_XENGINE_COMMUNICATION_PROTOCOL_TYPE_AUTH;
79-
st_JsonRoot["unOperatorCode"] = XENGINE_COMMUNICATION_PROTOCOL_OPERATOR_CODE_MQ_REQUSERLOG;
79+
st_JsonRoot["unOperatorCode"] = XENGINE_COMMUNICATION_PROTOCOL_OPERATOR_CODE_AUTH_REQLOGIN;
8080
st_JsonRoot["byVersion"] = ENUM_XENGINE_PROTOCOLHDR_PAYLOAD_TYPE_JSON;
8181

8282
st_JsonAuth["tszUserName"] = "123123aa";

0 commit comments

Comments
 (0)