diff --git a/dspt_api/util/general/handle_redis.py b/dspt_api/util/general/handle_redis.py index a1c3d99..313c441 100644 --- a/dspt_api/util/general/handle_redis.py +++ b/dspt_api/util/general/handle_redis.py @@ -31,6 +31,7 @@ def get_data_from_redis(redis_key): resp_result = resp['res']['status'] if str(resp_result) == '1': resp_data = resp['res']['data'] if isinstance(resp['res']['data'], list) else [resp['res']['data']] + print('get_data_from_redis-resp_data', resp_data) if str(resp_result) != '1': return False, redis_data['format'], '请检查接口返回值或手动输入参数:', 0 if len(resp_data) == 0: