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
吴升宇
physical
Commits
e2e6f1bc
Commit
e2e6f1bc
authored
Aug 13, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
fbaa5034
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
32 deletions
+1
-32
auto_request.py
vest/request/auto_request.py
+1
-32
No files found.
vest/request/auto_request.py
View file @
e2e6f1bc
...
@@ -14,8 +14,6 @@ from physical.settings_local import DATABASES
...
@@ -14,8 +14,6 @@ from physical.settings_local import DATABASES
from
physical.settings_local
import
REDIS_URL
from
physical.settings_local
import
REDIS_URL
from
libs.error
import
logging_exception
from
libs.error
import
logging_exception
my_sender
=
'lixiaofang@igengmei.com'
my_sender
=
'lixiaofang@igengmei.com'
my_pass
=
'tg5AVKBB8jLQGBET'
my_pass
=
'tg5AVKBB8jLQGBET'
my_user6
=
"lixiaofang@igengmei.com"
my_user6
=
"lixiaofang@igengmei.com"
...
@@ -25,40 +23,11 @@ auto_reply_url = "http://earth.gmapp.env/api/v1/reply/create"
...
@@ -25,40 +23,11 @@ auto_reply_url = "http://earth.gmapp.env/api/v1/reply/create"
auto_follow_url
=
"http://earth.gmapp.env/api/v1/follow"
auto_follow_url
=
"http://earth.gmapp.env/api/v1/follow"
auto_urge_url
=
"http://earth.gmapp.env/api/v1/user/urge"
auto_urge_url
=
"http://earth.gmapp.env/api/v1/user/urge"
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.mysql'
,
'NAME'
:
'alpha'
,
'USER'
:
'work'
,
'PASSWORD'
:
'Gengmei123!'
,
'HOST'
:
'bj-cdb-55ejhsjy.sql.tencentcdb.com'
,
'PORT'
:
'62177'
,
'OPTIONS'
:
{
"init_command"
:
"SET foreign_key_checks = 0;"
,
"charset"
:
"utf8mb4"
,
},
}
}
# auto_click_url = "http://earth.iyanzhi.com/api/v1/like"
# auto_click_url = "http://earth.iyanzhi.com/api/v1/like"
# auto_reply_url = "http://earth.iyanzhi.com/api/v1/reply/create"
# auto_reply_url = "http://earth.iyanzhi.com/api/v1/reply/create"
# auto_follow_url = "http://earth.iyanzhi.com/api/v1/follow"
# auto_follow_url = "http://earth.iyanzhi.com/api/v1/follow"
# auto_urge_url = "http://earth.iyanzhi.com/api/v1/user/urge"
# auto_urge_url = "http://earth.iyanzhi.com/api/v1/user/urge"
#
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql',
# 'NAME': 'alpha',
# 'USER': 'work',
# 'PASSWORD': 'oars152!traipseize738',
# 'HOST': '172.17.40.136',
# 'PORT': '3306',
# 'OPTIONS': {
# "init_command": "SET foreign_key_checks = 0;",
# "charset": "utf8mb4",
# }
# }
# }
host
=
DATABASES
[
'default'
][
'HOST'
]
host
=
DATABASES
[
'default'
][
'HOST'
]
...
...
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