邮箱服务bug修复

This commit is contained in:
taoser 2021-10-11 18:02:39 +08:00
parent 230b696cb7
commit ed2448a15e
4 changed files with 8 additions and 5 deletions

View File

@ -7,8 +7,8 @@
* 后台http://adm.aieok.com:888
* 账号test
* 密码test123
* 版本TaoLer 1.8.2
* 日期2021.8.5
* 版本TaoLer 1.8.18
* 日期2021.10.11
#### 项目地址

View File

@ -170,6 +170,7 @@
</div>
</div>
{//邮箱发送测试}
{if $mailserver.active !== 1}
<div class="layui-form" wid100 >
<div class="layui-form-item">
<label class="layui-form-label">测试邮箱</label>
@ -188,6 +189,7 @@
<button class="layui-btn" lay-submit lay-filter="active_system_email">确认激活</button>
</div>
</div>
{/if}
</div>
<div class="layui-tab-item">
<div class="layui-form" wid100 lay-filter="config">

View File

@ -376,9 +376,10 @@ CREATE TABLE `tao_mail_server` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`mail` varchar(50) NOT NULL COMMENT '邮箱设置',
`host` varchar(50) NOT NULL COMMENT '邮箱服务地址',
`port` tinyint(2) NOT NULL COMMENT '邮箱端口',
`port` smallint(3) NOT NULL COMMENT '邮箱端口',
`nickname` varchar(20) NOT NULL DEFAULT '' COMMENT '昵称',
`password` varchar(16) NOT NULL COMMENT '邮箱密码',
`active` tinyint(1) NOT NULL DEFAULT '0' COMMENT '邮箱服务1激活0未激活',
`create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
@ -386,7 +387,7 @@ CREATE TABLE `tao_mail_server` (
-- ----------------------------
-- Records of tao_mail_server
-- ----------------------------
INSERT INTO `tao_mail_server` VALUES ('1', 'xxxx@aliyun.com', 'smtp.aliyun.com', '25', 'user', '123456', '0');
INSERT INTO `tao_mail_server` VALUES ('1', 'xxxx@aliyun.com', 'smtp.aliyun.com', '25', 'user', '123456', '0', '0');
-- ----------------------------
-- Table structure for tao_message

View File

@ -7,7 +7,7 @@ return [
//应用名,此项不可更改
'appname' => 'TaoLer',
//版本配置
'version' => '1.8.3',
'version' => '1.8.18',
//加盐
'salt' => 'taoler',
//数据库备份目录