Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
XEngine
XEngine Authorize
提交
e0b49059
X
XEngine Authorize
项目概览
XEngine
/
XEngine Authorize
11 个月 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
XEngine Authorize
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e0b49059
编写于
11月 30, 2021
作者:
xengine-qyt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
added:configure email get back password
modify:vscopy file
上级
51dd07f0
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
25 addition
and
3 deletion
+25
-3
XEngine_Source/VSCopy.bat
XEngine_Source/VSCopy.bat
+3
-1
XEngine_Source/VSCopy_Debug.bat
XEngine_Source/VSCopy_Debug.bat
+2
-1
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.cpp
...ngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.cpp
+19
-1
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.h
...XEngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.h
+1
-0
未找到文件。
XEngine_Source/VSCopy.bat
浏览文件 @
e0b49059
...
...
@@ -11,6 +11,7 @@ copy /y "%XEngine_Library%\x86\XEngine_HelpComponents\HelpComponents_Authorize.d
copy
/y
"
%XEngine_Library%
\x86\XEngine_SystemSdk\XEngine_SystemApi.dll"
"./"
copy
/y
"
%XEngine_Library%
\x86\XEngine_RfcComponents\RfcComponents_WSProtocol.dll"
"./"
copy
/y
"
%XEngine_Library%
\x86\XEngine_RfcComponents\RfcComponents_EmailClient.dll"
"./"
copy
/y
"
%XEngine_Library%
\x86\XEngine_HelpComponents\bson-1.0.dll"
"./"
copy
/y
"
%XEngine_Library%
\x86\XEngine_HelpComponents\mongoc-1.0.dll"
"./"
...
...
@@ -20,3 +21,4 @@ copy /y "%XEngine_Library%\x86\XEngine_HelpComponents\sqlite3.dll" "./"
copy
/y
"
%XEngine_Library%
\x86\XEngine_HelpComponents\zlib1.dll"
"./"
copy
/y
"
%XEngine_Library%
\x86\XEngine_LibEx\libcrypto-1_1.dll"
"./"
copy
/y
"
%XEngine_Library%
\x86\XEngine_LibEx\libssl-1_1.dll"
"./"
copy
/y
"
%XEngine_Library%
\x86\XEngine_LibEx\libcurl.dll"
"./"
\ No newline at end of file
XEngine_Source/VSCopy_Debug.bat
浏览文件 @
e0b49059
...
...
@@ -11,3 +11,4 @@ copy /y "D:\XEngine\XEngine_SourceCode\Debug\HelpComponents_Authorize.dll" "./"
copy
/y
"D:\XEngine\XEngine_SourceCode\Debug\XEngine_SystemApi.dll"
"./"
copy
/y
"D:\XEngine\XEngine_SourceCode\Debug\RfcComponents_WSProtocol.dll"
"./"
copy
/y
"D:\XEngine\XEngine_SourceCode\Debug\RfcComponents_EmailClient.dll"
"./"
\ No newline at end of file
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.cpp
浏览文件 @
e0b49059
...
...
@@ -42,6 +42,7 @@ void CDialog_Configure::DoDataExchange(CDataExchange* pDX)
DDX_Control
(
pDX
,
IDC_EDIT10
,
m_EditSmtpPass
);
DDX_Control
(
pDX
,
IDC_EDIT15
,
m_EditWSPort
);
DDX_Control
(
pDX
,
IDC_CHECK2
,
m_EditTimeNotift
);
DDX_Control
(
pDX
,
IDC_CHECK3
,
m_CheckEnableEmail
);
}
...
...
@@ -65,7 +66,6 @@ BOOL CDialog_Configure::OnInitDialog()
LPCTSTR
lpszFile
=
_T
(
"./XEngine_Config/XEngine_Config.ini"
);
memset
(
&
st_AuthConfig
,
'\0'
,
sizeof
(
AUTHORIZE_CONFIGURE
));
Configure_IniFile_Read
(
lpszFile
,
&
st_AuthConfig
);
AuthorizeService_ReadConfigure
();
return
TRUE
;
// return TRUE unless you set the focus to a control
// 异常: OCX 属性页应返回 FALSE
...
...
@@ -122,6 +122,16 @@ void CDialog_Configure::AuthorizeService_ReadConfigure()
m_RadioKeyDisable
.
SetCheck
(
TRUE
);
m_RadioKeyPass
.
SetCheck
(
FALSE
);
}
if
(
st_AuthConfig
.
st_EMail
.
bSmtpEnable
)
{
m_CheckEnableEmail
.
SetCheck
(
1
);
}
else
{
m_CheckEnableEmail
.
SetCheck
(
0
);
}
m_StrConfigCrypt
.
Format
(
_T
(
"%d"
),
st_AuthConfig
.
st_Crypto
.
nPassword
);
m_EditPass
.
SetWindowText
(
m_StrConfigCrypt
.
GetBuffer
());
...
...
@@ -219,6 +229,14 @@ void CDialog_Configure::AuthorizeService_WriteConfigure()
WritePrivateProfileString
(
_T
(
"Crypto"
),
_T
(
"Enable"
),
_T
(
"0"
),
lpszConfigFile
);
}
if
(
BST_CHECKED
==
m_CheckEnableEmail
.
GetCheck
())
{
WritePrivateProfileString
(
_T
(
"SmtpConfig"
),
_T
(
"SmtpEnable"
),
_T
(
"1"
),
lpszConfigFile
);
}
else
{
WritePrivateProfileString
(
_T
(
"SmtpConfig"
),
_T
(
"SmtpEnable"
),
_T
(
"0"
),
lpszConfigFile
);
}
WritePrivateProfileString
(
_T
(
"SmtpConfig"
),
_T
(
"SmtpService"
),
m_StrConfigSmtpAddr
.
GetBuffer
(),
lpszConfigFile
);
WritePrivateProfileString
(
_T
(
"SmtpConfig"
),
_T
(
"SmtpFromAddr"
),
m_StrConfigSmtpFrom
.
GetBuffer
(),
lpszConfigFile
);
WritePrivateProfileString
(
_T
(
"SmtpConfig"
),
_T
(
"SmtpUser"
),
m_StrConfigSmtpUser
.
GetBuffer
(),
lpszConfigFile
);
...
...
XEngine_Source/XEngine_APPService/XEngine_AuthorizeApp/Authorize_Dialog/CDialog_Configure.h
浏览文件 @
e0b49059
...
...
@@ -48,4 +48,5 @@ public:
afx_msg
void
OnBnClickedRadio1
();
CEdit
m_EditWSPort
;
CButton
m_EditTimeNotift
;
CButton
m_CheckEnableEmail
;
};
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录