diff --git a/plugins/gogs/conf/app.ini b/plugins/gogs/conf/app.ini index 06123830b..5ed703b09 100644 --- a/plugins/gogs/conf/app.ini +++ b/plugins/gogs/conf/app.ini @@ -27,8 +27,7 @@ LANDING_PAGE = home [mailer] ENABLED = false -SUBJECT_PREFIX = GOGS -HOST = smtp.163.com:25 +HOST = smtp.163.com:465 USER = midoks@163.com PASSWD = *** USE_PLAIN_TEXT = true diff --git a/plugins/gogs/index.html b/plugins/gogs/index.html index f4dda400d..5155d95f9 100755 --- a/plugins/gogs/index.html +++ b/plugins/gogs/index.html @@ -6,7 +6,9 @@

自启动配置

配置文件

配置修改

+

用户列表

运行日志

+

使用说明

diff --git a/plugins/gogs/js/gogs.js b/plugins/gogs/js/gogs.js index 7396ff38c..f28143f21 100755 --- a/plugins/gogs/js/gogs.js +++ b/plugins/gogs/js/gogs.js @@ -109,4 +109,11 @@ function submitGogsConf() { layer.msg(rdata.msg, { icon: rdata.status ? 1 : 2 }); gogsSetConfig(); }); +} + + +function gogsRead(){ + var readme = '

* 默认使用MySQL,第一个启动加载各种配置,并修改成正确的数据库配置

'; + readme += '

* 邮件端口使用456,gogs仅支持使用STARTTLS的SMTP协议

'; + $('.soft-man-con').html(readme); } \ No newline at end of file