Added login api

This commit is contained in:
infidel
2022-11-30 15:58:16 +07:00
parent 263218ed9e
commit d5d3401265
7319 changed files with 912655 additions and 22 deletions

Binary file not shown.

View File

@@ -26,4 +26,21 @@ def req_edit_state(id, state):
print(req)
def req_edit_user(id):
inf_s = get_session()
req_val = id
req_url = 'http://10.30.1.138:5000/api/client/'+req_val
req = inf_s.get(req_url)
print("-->")
print(req)
# req = json.loads(req)
return req.json()
#
# http://10.30.1.138:5000/api/client/caivc1vekn84im2m6ec0?_=1669623393468