diff --git a/vnpy/api/mini/include/mini/ThostFtdcTraderApi.h b/vnpy/api/mini/include/mini/ThostFtdcTraderApi.h index 6c054b27..433ffc8a 100644 --- a/vnpy/api/mini/include/mini/ThostFtdcTraderApi.h +++ b/vnpy/api/mini/include/mini/ThostFtdcTraderApi.h @@ -48,6 +48,7 @@ public: ///客户端认证响应 virtual void OnRspAuthenticate(CThostFtdcRspAuthenticateField *pRspAuthenticateField, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; + ///登录请求响应 virtual void OnRspUserLogin(CThostFtdcRspUserLoginField *pRspUserLogin, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {}; diff --git a/vnpy/api/mini/include/mini/ThostFtdcUserApiDataType.h b/vnpy/api/mini/include/mini/ThostFtdcUserApiDataType.h index c9726243..d9efe26e 100644 --- a/vnpy/api/mini/include/mini/ThostFtdcUserApiDataType.h +++ b/vnpy/api/mini/include/mini/ThostFtdcUserApiDataType.h @@ -1976,6 +1976,11 @@ typedef char TThostFtdcCommentType[31]; ///////////////////////////////////////////////////////////////////////// typedef char TThostFtdcVersionType[4]; +///////////////////////////////////////////////////////////////////////// +/////UtpCipherVersionType是一个版本信息类型 +/////////////////////////////////////////////////////////////////////////// +typedef char UtpCipherVersionType[65]; + ///////////////////////////////////////////////////////////////////////// ///TFtdcTradeCodeType是一个交易代码类型 ///////////////////////////////////////////////////////////////////////// @@ -6410,11 +6415,11 @@ typedef char TThostFtdcClientSystemInfoType[273]; ///////////////////////////////////////////////////////////////////////// ///TThostFtdcAppIDType是App代码类型 ///////////////////////////////////////////////////////////////////////// -typedef char TThostFtdcClientAppIDType[21]; +typedef char TThostFtdcClientAppIDType[33]; ///////////////////////////////////////////////////////////////////////// ///TThostFtdcAutoCodeType是AutoCode代码类型 ///////////////////////////////////////////////////////////////////////// -typedef char TThostFtdcAutoCodeType[17]; +typedef char TThostFtdcAutoCodeType[17]; #endif diff --git a/vnpy/api/mini/include/mini/ThostFtdcUserApiStruct.h b/vnpy/api/mini/include/mini/ThostFtdcUserApiStruct.h index 9ffe23bc..39fc8848 100644 --- a/vnpy/api/mini/include/mini/ThostFtdcUserApiStruct.h +++ b/vnpy/api/mini/include/mini/ThostFtdcUserApiStruct.h @@ -112,8 +112,8 @@ struct CThostFtdcReqAuthenticateField TThostFtdcProductInfoType UserProductInfo; ///认证码 TThostFtdcAuthCodeType AuthCode; - ///App代码 - TThostFtdcClientAppIDType AppID; + // App代码 + TThostFtdcClientAppIDType AppID; }; ///客户端认证响应 @@ -125,8 +125,8 @@ struct CThostFtdcRspAuthenticateField TThostFtdcUserIDType UserID; ///用户端产品信息 TThostFtdcProductInfoType UserProductInfo; - ///App代码 - TThostFtdcClientAppIDType AppID; + // App代码 + TThostFtdcClientAppIDType AppID; }; ///客户端认证信息 @@ -139,13 +139,15 @@ struct CThostFtdcAuthenticationInfoField ///用户端产品信息 TThostFtdcProductInfoType UserProductInfo; ///时间戳 - TThostFtdcAuthInfoType TimeStamp; + TThostFtdcAuthInfoType TimeStamp; ///认证信息 TThostFtdcAuthInfoType AuthInfo; ///是否为认证结果 TThostFtdcBoolType IsResult; - ///App代码 - TThostFtdcClientAppIDType AppID; + // App代码 + TThostFtdcClientAppIDType AppID; + // 版本信息 + UtpCipherVersionType VerInfo; }; ///银期转帐报文头 @@ -1926,9 +1928,9 @@ struct CThostFtdcTransFundField ///投资者帐号 TThostFtdcAccountIDType AccountID; ///出金的核心地址 - TThostFtdcAddressAndPortType DepositKernel; + TThostFtdcAddressAndPortType DepositKernel; ///入金的核心地址 - TThostFtdcAddressAndPortType IncomingKernel; + TThostFtdcAddressAndPortType IncomingKernel; ///币种代码 TThostFtdcCurrencyIDType CurrencyID; ///转账金额 diff --git a/vnpy/api/mini/libs/thostmduserapi.lib b/vnpy/api/mini/libs/thostmduserapi.lib index 94a9ae3e..29f5418b 100644 Binary files a/vnpy/api/mini/libs/thostmduserapi.lib and b/vnpy/api/mini/libs/thostmduserapi.lib differ diff --git a/vnpy/api/mini/libs/thosttraderapi.lib b/vnpy/api/mini/libs/thosttraderapi.lib index 233630c3..08bc6bb8 100644 Binary files a/vnpy/api/mini/libs/thosttraderapi.lib and b/vnpy/api/mini/libs/thosttraderapi.lib differ diff --git a/vnpy/api/mini/thostmduserapi.dll b/vnpy/api/mini/thostmduserapi.dll index 2194b52b..6c482613 100644 Binary files a/vnpy/api/mini/thostmduserapi.dll and b/vnpy/api/mini/thostmduserapi.dll differ diff --git a/vnpy/api/mini/thosttraderapi.dll b/vnpy/api/mini/thosttraderapi.dll index 243b4e4c..ef667416 100644 Binary files a/vnpy/api/mini/thosttraderapi.dll and b/vnpy/api/mini/thosttraderapi.dll differ