|
|
@ -294,9 +294,9 @@ def update_cine(request): |
|
|
|
redis_conn.set(redis_key, json.dumps(update_status), 5 * 60) |
|
|
|
redis_conn.set(redis_key, json.dumps(update_status), 5 * 60) |
|
|
|
client_release = ClientUtil() |
|
|
|
client_release = ClientUtil() |
|
|
|
print('client_release.client_process') |
|
|
|
print('client_release.client_process') |
|
|
|
client_release.client_process(cinema_ip, short_release) |
|
|
|
client_name = client_release.client_process(cinema_ip, short_release) |
|
|
|
update_status['client']['result'] = 'success' |
|
|
|
update_status['client']['result'] = 'success' |
|
|
|
update_status['client']['msg'] = '客户端上传成功' |
|
|
|
update_status['client']['msg'] = f'客户端上传成功: {client_name}' |
|
|
|
redis_conn.set(redis_key, json.dumps(update_status), 5 * 60) |
|
|
|
redis_conn.set(redis_key, json.dumps(update_status), 5 * 60) |
|
|
|
except Exception as e: |
|
|
|
except Exception as e: |
|
|
|
print('client', e) |
|
|
|
print('client', e) |
|
|
|