Skip to content

iframe 签名校验接口

当配置了iframe 任务以后 系统自动生成iframe的签名,可以先调用iframe的页面对iframe进行校验再进行后续的流程

请求地址:

/v1/api/sign/iframe/check

请求方式:

POST

请求体

请求参数类型是否必选参数说明示例
urlstringtrueiframe整个地址https://m.chaoxing.com/open/iframe/search?sw=&mobile=0&channel=&uid=74554135&type=0&aid=125306&robotUid=294894529&robotId=2e5835c4acc947efb9eb490861523fa5&robotFId=1385&robotTime=1720162444536&bot_signature=f09dc88892b80c455ee66ff146506c75&6cx71243=1720162443437&bot_msg=ca641f2c03164344a836c6bdcabf0b23&bot_referer=https://robot1.chaoxing.com

示例 请求参数

POST /v1/api/sign/iframe/check
{
    "url":"https://m.chaoxing.com/open/iframe/search?sw=&mobile=0&channel=&uid=74554135&type=0&aid=125306&robotUid=294894529&robotId=2e5835c4acc947efb9eb490861523fa5&robotFId=1385&robotTime=1720162444536&bot_signature=f09dc88892b80c455ee66ff146506c75&6cx71243=1720162443437&bot_msg=ca641f2c03164344a836c6bdcabf0b23&bot_referer=https://robot1.chaoxing.com"
}

响应结果

响应参数参数类型是否必选参数说明
statusCodeinttrue0表示请求成功 -1表示出现异常
msgStringtrue提示信息
databooleantruetrue表示签名验证通过 false 表示签名验证不通过,系统异常的时候 data 可能为空

示例 成功响应

{
    "code":0,
    "msg":"操作成功"
    "data":true
}

示例 失败响应

{
    "code":0,
    "msg":"操作成功"
    "data":false
}

示例 异常响应

{
    "code":-1,
    "msg":"系统异常"
    "data":null
}

最近更新: