It is required that you pass in a value for the "algorithms" argument when calling decode().
标明加密时的算法algorithms=‘xxxxx’,加密时默认算法为"HS256"
jwt.decode(token, settings.SECRET_KEY, algorithms='HS256')
_authorization = request.META.get('HTTP_AUTHORIZATION')
# _payload = jwt.decode(_authorization, key="tk123")
_payload = jwt.decode(_authorization, key="tk123", algorithms='HS256')