first commit

This commit is contained in:
mol
2023-02-04 00:14:50 +08:00
commit a2f1b6d4fd
51 changed files with 839 additions and 0 deletions

View File

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