Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
physical
Commits
f167a8df
Commit
f167a8df
authored
Aug 26, 2019
by
段英荣
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test_vest' into 'master'
add See merge request
!445
parents
2ec7bbc9
46ed0213
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
auto_request.py
vest/request/auto_request.py
+1
-1
get_session.py
vest/request/get_session.py
+2
-2
No files found.
vest/request/auto_request.py
View file @
f167a8df
...
@@ -315,7 +315,7 @@ def send_email(stat_data):
...
@@ -315,7 +315,7 @@ def send_email(stat_data):
msg
=
MIMEText
(
stat_data
,
'plain'
,
'utf-8'
)
msg
=
MIMEText
(
stat_data
,
'plain'
,
'utf-8'
)
msg
[
'From'
]
=
formataddr
([
"李小芳"
,
my_sender
])
msg
[
'From'
]
=
formataddr
([
"李小芳"
,
my_sender
])
msg
[
"To"
]
=
formataddr
([
"李小芳"
,
my_user6
])
msg
[
"To"
]
=
formataddr
([
"李小芳"
,
my_user6
])
msg
[
'Subject'
]
=
str
(
datetime
.
date
.
today
())
+
"like的
测试
环境的自动点赞出问题了"
msg
[
'Subject'
]
=
str
(
datetime
.
date
.
today
())
+
"like的
线上
环境的自动点赞出问题了"
server
=
smtplib
.
SMTP_SSL
(
"smtp.exmail.qq.com"
,
465
)
server
=
smtplib
.
SMTP_SSL
(
"smtp.exmail.qq.com"
,
465
)
server
.
login
(
my_sender
,
my_pass
)
server
.
login
(
my_sender
,
my_pass
)
server
.
sendmail
(
my_sender
,
[
my_user6
],
msg
.
as_string
())
server
.
sendmail
(
my_sender
,
[
my_user6
],
msg
.
as_string
())
...
...
vest/request/get_session.py
View file @
f167a8df
...
@@ -5,8 +5,8 @@ import json
...
@@ -5,8 +5,8 @@ import json
from
libs.cache
import
redis_client
from
libs.cache
import
redis_client
from
libs.error
import
logging_exception
from
libs.error
import
logging_exception
#
login_url = "http://earth.iyanzhi.com/api/account/login_pwd"
login_url
=
"http://earth.iyanzhi.com/api/account/login_pwd"
login_url
=
"http://earth.gmapp.env/api/account/login_pwd"
#
login_url = "http://earth.gmapp.env/api/account/login_pwd"
def
index_first
():
def
index_first
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment