12345def test01(): token = "t1.t2.t3" token_body = token.split('.')[1] result = json.loads(base64.b64decode(token_body + '==').decode('utf-8')) print(result)