Skip to content

Commit dc87c6a

Browse files
committed
fixed:reload configure file is incorrent
1 parent bd9e5ee commit dc87c6a

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

XEngine_Source/XEngine_StorageApp/StorageApp_Center.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
#pragma once
2-
3-
#define XENGINE_STORAGE_APP_TASK_EVENT _T("Event")
42
#define XENGINE_STORAGE_APP_TASK_PASS _T("Pass")
53
#define XENGINE_STORAGE_APP_TASK_MANAGE _T("Manage")
64

XEngine_Source/XEngine_StorageApp/Storage_APPTask/Storage_TaskManage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ BOOL XEngine_Task_Manage(LPCTSTR lpszAPIName, LPCTSTR lpszClientAddr, LPCTSTR lp
1717
if (0 == _tcsnicmp(XENGINE_STORAGE_APP_METHOD_CONFIG, lpszAPIName, _tcslen(XENGINE_STORAGE_APP_METHOD_CONFIG)))
1818
{
1919
StorageApp_Config_Parament(0, NULL);
20-
RfcComponents_HttpServer_SendMsgEx(xhUPHttp, tszSDBuffer, &nSDLen, &st_HDRParam);
20+
RfcComponents_HttpServer_SendMsgEx(xhCenterHttp, tszSDBuffer, &nSDLen, &st_HDRParam);
2121
XEngine_Net_SendMsg(lpszClientAddr, tszSDBuffer, nSDLen, STORAGE_NETTYPE_HTTPCENTER);
2222
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO, _T("业务客户端:%s,处理用户重载配置文件成功"), lpszClientAddr);
2323
}

XEngine_Source/XEngine_StorageApp/XEngine_StorageApp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ int main(int argc, char** argv)
146146
TCHAR tszAddr[128];
147147
memset(tszAddr, '\0', sizeof(tszAddr));
148148

149-
_stprintf(tszAddr, _T("Http://127.0.0.1:%d/Api/Event/Config"), st_ServiceCfg.nCenterPort);
149+
_stprintf(tszAddr, _T("Http://127.0.0.1:%d/Api/Manage/Config"), st_ServiceCfg.nCenterPort);
150150
APIHelp_HttpRequest_Post(tszAddr);
151151
return 0;
152152
}

0 commit comments

Comments
 (0)