更换令牌

获取访问令牌

post

/global/thirdExt/randomKey 通过一次临时Token换取最终访问Token

Header parameters
companyIdstringRequired

公司ID,通过环境变量获取

Example: {{company}}
tracestringRequired

随机跟踪码UUID

Example: {{mock_trace}}
tokenstringOptional

登录token

Example: {{LoginResult.data.token}}
langstringRequired

语言

Example: zh-CN
Body
objectOptional
Responses
200

成功

application/json
post
POST /api/global/thirdExt/randomKey HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200

成功

{
  "msg": "Success",
  "fail": false,
  "trace": "x-qfx13-8z5850-mf4l657-gkqbn-1677563999",
  "code": "0",
  "data": "qfx13-8z5850-mf4l657-gkqbn-167756399",
  "bizCode": "",
  "tm": 955,
  "msgParams": null,
  "ok": true
}

Last updated