Merge branch 'master' of https://e.coding.net/ctcdevteam/cma_search
This commit is contained in:
commit
6b611e9e16
|
@ -23,7 +23,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '国检集团检测能力共享平台',
|
title: '国检集团检验检测能力共享平台',
|
||||||
// logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
|
// logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
|
||||||
logo:'http://testsearch.ctc.ac.cn:8000/media/default/avatar.png'
|
logo:'http://testsearch.ctc.ac.cn:8000/media/default/avatar.png'
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="login-container">
|
<div class="login-container">
|
||||||
<div class="login-form">
|
<div class="login-form">
|
||||||
<div class="title-container">
|
<div class="title-container">
|
||||||
<h3 class="title">国检集团检测能力共享平台</h3>
|
<h3 class="title">国检集团检验检测能力共享平台</h3>
|
||||||
</div>
|
</div>
|
||||||
<el-tabs v-model="activeName" :stretch="true">
|
<el-tabs v-model="activeName" :stretch="true">
|
||||||
<el-tab-pane label="验证码登录" name="msg">
|
<el-tab-pane label="验证码登录" name="msg">
|
||||||
|
|
|
@ -90,7 +90,7 @@ class sendMsg(APIView):
|
||||||
# 邮件内容
|
# 邮件内容
|
||||||
msg=MIMEText('您好,共享平台本次登陆验证码为' + str(code),'plain','utf-8')
|
msg=MIMEText('您好,共享平台本次登陆验证码为' + str(code),'plain','utf-8')
|
||||||
# 括号里的对应发件人邮箱昵称、发件人邮箱账号
|
# 括号里的对应发件人邮箱昵称、发件人邮箱账号
|
||||||
msg['From']=formataddr(["国检集团检测能力共享平台",my_sender])
|
msg['From']=formataddr(["国检集团检验检测能力共享平台",my_sender])
|
||||||
# 括号里的对应收件人邮箱昵称、收件人邮箱账号
|
# 括号里的对应收件人邮箱昵称、收件人邮箱账号
|
||||||
msg['To']=formataddr(["",my_user])
|
msg['To']=formataddr(["",my_user])
|
||||||
# 邮件的主题
|
# 邮件的主题
|
||||||
|
|
Loading…
Reference in New Issue