test: auto
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
mol
2023-08-09 13:47:55 +08:00
parent a2caaddef4
commit 15885c5676
5 changed files with 210 additions and 9 deletions

View File

@ -2,6 +2,6 @@ import requests
def getToken():
body = { 'username': 'mol', 'password': 'c!UxnePTkwBMb7' }
res = requests.post('https://music.hiiragi.club:8081/auth/login', json = body)
res = requests.post('http://192.168.124.12:4533/music/auth/login', json = body)
resJson = res.json()
return resJson.get('token')