10. 获取图形验证码
开发中GET
/captcha/image请求参数
Header 参数
platform
string
必需
当前请求的客户端(APP、小程序、H5等)
示例值:
H5
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
integer
必需
message
string
必需
data
object
必需
base64
string
必需
key
string
必需
md5
string
必需
示例
{
"status": 200,
"message": "success",
"data": {
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAABBCAMAAACXQNqgAAAAk1BMVEXz+/5wW0XXmMPVtKycmsiYm9u8tsyypqnguJjU2tKlr9ahwL/S08+hl4ri5+bBv7iQg3OAb1yxq6F6a2qOi7WJg6Kas6+CgHJ1Y1eUpqCOmpF2Z1SIjYKafWTSrI27nZJ8ZlGId2p4ZFGJcV6ZiYOpnJyRgHehk5C9iKOjeYR8YlSwgZN/c318dGPKkLOWcXSVinkL4YbeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAGCUlEQVRogdWaiZKcNhCGYSYsw4DE4dhrb5x4ndiJs0mcvP/TRVLrhJbUGtjy+q8tXGZA9Kc+dEBV7dX16o4U9b3+W+t8zt16ubhj1JLdQoEGNsSu/x6BOKvrmSPXdl3VIUCA8lKAVDtXvzE+10IMubQTRH3fbTwkWYDnB6XIky6SJcpzJNE1aIvVSkjQCR4USNB4/kkAAVPSkt266qbcmQmA5u21Esgco4rypJxzpK5K3gntoXrZXJoEOp3UP3EeGtAd4ZpCGaB6UxdkDkUdBEAJHprujieyQNP6F1nl0gHneMZlGW95+jN4aDFA9dqiFMxJechUOWhjvgnpcDmgmYeDS9I7OoekhjnWJXkd46GBMZcwCghKHcuPllYOyPUIWvzTKsihgWGjfwUzA2G8+XVUhkAnf6BbYoGYx4OOz0mRgaTVeHdxEyALIAHQoE490i3RQHyqA9EbAFF5RrQOu58gZxb7/1F39HYwigmAtGdlOVgoQJtRkKopDlTNrj+lIQMA8Ud8MMJ1UjKdM3H7TMK9NwHNicadi6QtgwbSpzeDUVK1f89Cy6HbJnCq+2M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