mirror of
https://github.com/Hello-hao/Tbed.git
synced 2024-04-21 12:32:10 +00:00
Hellohao图床6-13更新
This commit is contained in:
@@ -53,10 +53,10 @@ public class UserController {
|
||||
user.setUid(uid);
|
||||
user.setBirthder(birthder);
|
||||
//查询是否启用了邮箱验证。
|
||||
EmailConfig emailConfig1 = emailConfigService.getemail();
|
||||
Config config = configService.getSourceype();
|
||||
System.err.println("是否启用了邮箱激活:"+emailConfig.getUsing());
|
||||
Integer type = 0;
|
||||
if(emailConfig1.getUsing()==1){
|
||||
if(emailConfig.getUsing()==1){
|
||||
user.setIsok(0);
|
||||
//初始化邮箱
|
||||
MimeMessage message = SendEmail.Emails(emailConfig);
|
||||
@@ -67,6 +67,7 @@ public class UserController {
|
||||
}
|
||||
};
|
||||
thread.start();
|
||||
type = 1;
|
||||
}else{
|
||||
//直接注册
|
||||
user.setIsok(1);
|
||||
|
||||
@@ -124,7 +124,6 @@
|
||||
});
|
||||
}
|
||||
|
||||
//修改百度图片鉴别
|
||||
function updateimgreview() {
|
||||
var emailname = $("#emailname").val();
|
||||
var emails = $("#emails").val();
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="hidden-sm hidden-md ">
|
||||
<!-- <a onclick="guanyu();" target="_blank" style="cursor:pointer;">说明</a>-->
|
||||
<a href="http://www.hellohao.cn" target="_blank">作者博客</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a href="http://www.hellohao.cn" target="_blank">联系</a>-->
|
||||
<a href="https://github.com/Hello-hao/Tbed" target="_blank">Github开源</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul id="usersrc" class="nav navbar-nav navbar-right hidden-sm">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<!-- 网页不会被缓存 -->
|
||||
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
|
||||
<title th:text="${config.getWebname()}"></title>
|
||||
<title th:text="${config.getWebname()}+' - 纯粹的图片存放驿站'"></title>
|
||||
<meta name="description" content="免费纯粹的图片存放驿站。"/>
|
||||
<meta name="Keywords" content="hellohao图床,hellohao,图床,纯粹的图床站,免费图床"/>
|
||||
<link rel=”canonical” href=”http://tc.hellohao.cn/”/>
|
||||
|
||||
Reference in New Issue
Block a user