Commit a8ebd961 by TingSong-Syu

:q

parent c86808b8
...@@ -8,6 +8,7 @@ import sys ...@@ -8,6 +8,7 @@ import sys
reload(sys) reload(sys)
sys.setdefaultencoding('utf8') sys.setdefaultencoding('utf8')
#测试环境 #测试环境
'''
host = "192.168.2.26" host = "192.168.2.26"
port = 3306 port = 3306
user = "root" user = "root"
...@@ -18,7 +19,6 @@ host = "mysql.in.shenlancity.com" ...@@ -18,7 +19,6 @@ host = "mysql.in.shenlancity.com"
port = 3306 port = 3306
user = "summer_hill" user = "summer_hill"
password = "xytXdnZMGr4B7BVd" password = "xytXdnZMGr4B7BVd"
'''
def action(failure_count): def action(failure_count):
config_infos = cms_config.load_config_check_pay_failure() config_infos = cms_config.load_config_check_pay_failure()
...@@ -58,4 +58,4 @@ order by ...@@ -58,4 +58,4 @@ order by
#print("[sum]:%s,[user_id]:%s,[truename]:%s") % (line[0], line[1], line[2]) #print("[sum]:%s,[user_id]:%s,[truename]:%s") % (line[0], line[1], line[2])
if line[0] > 1: if line[0] > 1:
count = count + 1 count = count + 1
print(count) print(count)
\ No newline at end of file
...@@ -8,6 +8,7 @@ from util import cms_config ...@@ -8,6 +8,7 @@ from util import cms_config
import sys import sys
#测试环境 #测试环境
'''
host = "192.168.2.26" host = "192.168.2.26"
port = 3306 port = 3306
user = "root" user = "root"
...@@ -18,7 +19,6 @@ host = "mysql.in.shenlancity.com" ...@@ -18,7 +19,6 @@ host = "mysql.in.shenlancity.com"
port = 3306 port = 3306
user = "summer_hill" user = "summer_hill"
password = "xytXdnZMGr4B7BVd" password = "xytXdnZMGr4B7BVd"
'''
def get_interval(db_time): def get_interval(db_time):
curtime=times.currsecs() curtime=times.currsecs()
...@@ -59,4 +59,4 @@ if __name__ == '__main__': ...@@ -59,4 +59,4 @@ if __name__ == '__main__':
#action(interval) #action(interval)
# else: # else:
# interval=0 # interval=0
# action(interval) # action(interval)
\ No newline at end of file
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