Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
ops
Overview
Overview
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangwei
ops
Commits
a8ebd961
Commit
a8ebd961
authored
Apr 05, 2017
by
TingSong-Syu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
:q
parent
c86808b8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
check_pay_failure.py
cms_log/cms_log/check_pay_failure.py
+1
-1
check_pay_stat.py
cms_log/cms_log/check_pay_stat.py
+1
-1
No files found.
cms_log/cms_log/check_pay_failure.py
View file @
a8ebd961
...
...
@@ -8,6 +8,7 @@ import sys
reload
(
sys
)
sys
.
setdefaultencoding
(
'utf8'
)
#测试环境
'''
host = "192.168.2.26"
port = 3306
user = "root"
...
...
@@ -18,7 +19,6 @@ host = "mysql.in.shenlancity.com"
port
=
3306
user
=
"summer_hill"
password
=
"xytXdnZMGr4B7BVd"
'''
def
action
(
failure_count
):
config_infos
=
cms_config
.
load_config_check_pay_failure
()
...
...
cms_log/cms_log/check_pay_stat.py
View file @
a8ebd961
...
...
@@ -8,6 +8,7 @@ from util import cms_config
import
sys
#测试环境
'''
host = "192.168.2.26"
port = 3306
user = "root"
...
...
@@ -18,7 +19,6 @@ host = "mysql.in.shenlancity.com"
port
=
3306
user
=
"summer_hill"
password
=
"xytXdnZMGr4B7BVd"
'''
def
get_interval
(
db_time
):
curtime
=
times
.
currsecs
()
...
...
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