Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -69,8 +69,8 @@ def autentica():
|
|
69 |
@ app.route('/getdatamosaico', methods=['GET'])
|
70 |
def getdatamosaico():
|
71 |
cliente = request.args.get('cliente')
|
72 |
-
|
73 |
-
newurl = 'http://painel.atualli.com/getdatamosaico?cliente='+cliente
|
74 |
res = requests.get(newurl)
|
75 |
|
76 |
response = Response(res.content, res.status_code, res.headers)
|
|
|
69 |
@ app.route('/getdatamosaico', methods=['GET'])
|
70 |
def getdatamosaico():
|
71 |
cliente = request.args.get('cliente')
|
72 |
+
operador = request.args.get('operador')
|
73 |
+
newurl = 'http://painel.atualli.com/getdatamosaico?cliente='+cliente+"&operador="+operador
|
74 |
res = requests.get(newurl)
|
75 |
|
76 |
response = Response(res.content, res.status_code, res.headers)
|