Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
	"errorId": 0,
	"solution": {
		"ct": "0rRUrDIrbJtVlXV38QPOg1vxJVyn7mGaaEyHb2b3ehOjQBGzi8OB9c42Sl5Tie4xctIT8lq1gRU8KW8IJs5E7GUd4MtNfwovogsGLqE8vHZ8rEogLWcIQQT7CHtOdZSVLRBPOU439Mh1FKsk8JqwCYJGvlTQ",
		"dt": "118hy2kz01k4x3gz6s6y78",
		"tl": "xxxxxxxxxxxxxxxxxxx"
	},
	"status": "ready"
}

* 发送参数到 /tl 请求完毕后,响应中的header会返回新的ct (x-kpsdk-ct),在下次请求其他url时需要带上这个新的ct

响应中还会返回st (x-kpsdk-st),st用于生成下面的worktime

2. 如何过WorkTime

通过我们的 API 生成的Payload发送到 /tl 后,响应头中将返回 x-*****-st 值,您可以使用它来生成WorkTime Header。

...