Commit bb0e2d82 authored by lvshibao's avatar lvshibao

seat_check接口的修改

parent 59efda45
......@@ -178,7 +178,8 @@ def db_seat_check(req, if_page=False):
extra = json.loads(check['extra'])
remain = get_remain(check)
f_name = extra['filename'] if extra and 'filename' in extra.keys() else ''
detail = {'id': check['id'], 'sessionId': check['sessionId'], 'createdAt': check['createdAt'],
detail = {'id': check['id'], 'sessionId': check['sessionId'],
'createdAt': check['createdAt'].strftime('%Y-%m-%d %H:%M:%S'),
'area': t_name.split('_')[0],
'seatName': seat_code_name_dict.get(check['agentName'], check['agentName']),
'agentName': check['agentName'], 'filename': f_name,
......
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