|
|
@ -29,6 +29,8 @@ def get_data_from_redis(redis_key): |
|
|
|
resp = redis_data['handled_data'] |
|
|
|
resp = redis_data['handled_data'] |
|
|
|
print('handled_data', json.dumps(redis_data['handled_data'])) |
|
|
|
print('handled_data', json.dumps(redis_data['handled_data'])) |
|
|
|
resp_result = resp['res']['status'] |
|
|
|
resp_result = resp['res']['status'] |
|
|
|
|
|
|
|
print('resp_result', resp_result) |
|
|
|
|
|
|
|
print('resp_result-type', type(resp_result)) |
|
|
|
if str(resp_result) == '1': |
|
|
|
if str(resp_result) == '1': |
|
|
|
print('get_data_from_redis-1') |
|
|
|
print('get_data_from_redis-1') |
|
|
|
resp_data = resp['res']['data'] if isinstance(resp['res']['data'], list) else [resp['res']['data']] |
|
|
|
resp_data = resp['res']['data'] if isinstance(resp['res']['data'], list) else [resp['res']['data']] |
|
|
|