Commit a8ebd961 by TingSong-Syu

:q

parent c86808b8
......@@ -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()
......@@ -58,4 +58,4 @@ order by
#print("[sum]:%s,[user_id]:%s,[truename]:%s") % (line[0], line[1], line[2])
if line[0] > 1:
count = count + 1
print(count)
\ No newline at end of file
print(count)
......@@ -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()
......@@ -59,4 +59,4 @@ if __name__ == '__main__':
#action(interval)
# else:
# interval=0
# action(interval)
\ No newline at end of file
# action(interval)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment