💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~[api] put:auth/refresh <<< success { "data": { "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC93d3cuc2VydmVyYWRtaW4uY29tXC9hcGlcL3YxXC9zaG9wX2FwaVwvYXV0aFwvcmVmcmVzaCIsImlhdCI6MTU4NDk0MzUzNSwiZXhwIjoxNTg0OTQ3MTQ4LCJuYmYiOjE1ODQ5NDM1NDgsImp0aSI6Ilp4aDFYQjY3WHA2ZHd4ME8iLCJzdWIiOjEsInBydiI6IjUxYTdiMzE2ZjE3MGM3OGY4YWQyZDZhYzI2ZTIxOTEyZmQ2NGJmNWEifQ.Gsr8JKkcbev07-QpFE\_PhS5-WzDBxcdx3C8MWY9Gdyg", "token_type": "bearer", "expires_in": 3600     }, "code": 8888, "msg": "成功!" } ~~~ ## **成功发回参数说明** |参数|是否必须|参数类型|说明| |-|-|-|-| |code|是|int|表示请求后的状态| |msg|是|string|表示请求提示信息| |data|是|object|返回数据| ## **data数据说明** |参数|是否必须|参数类型|说明| |-|-|-|-| |token|是|string|表示用于请求信息的令牌token,有效期一个小时,如果过期可通过旧的token换取新的token,旧token的有效期为15天| |token_type|是|string|表示token类型| |expires_in|是|int|表示token有效时间|