https://devpress.csdn.net/python/62fb8a1ec6770329308005c2.html
import jwt
secret = '123456'
algo = "HS256"
token = jwt.encode(payload={"id": '12345'}, key=secret, algorithm=algo)
token = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
jsn = jwt.decode(ss, key=secret, algorithm=algo)
https://blog.csdn.net/Alex_StarSky/article/details/83933254