|
@@ -26,8 +26,8 @@ class Eobj():pass
|
26
|
26
|
def connect_redis1():
|
27
|
27
|
return redis.Redis(host='localhost', port=6379, db=1,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
|
28
|
28
|
def connect_redis():
|
29
|
|
- # return redis.Redis(host='localhost', port=6379, db=0,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
|
30
|
|
- return redis.Redis(host='localhost', port=6379,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
|
|
29
|
+ return redis.Redis(host='localhost', port=6379, db=0,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
|
|
30
|
+ # return redis.Redis(host='localhost', port=6379,charset="utf-8", decode_responses=True, encoding_errors="backslashreplace")
|
31
|
31
|
r'''
|
32
|
32
|
|
33
|
33
|
return {
|