鑫华广告-渠道对接文档

鑫华广告-渠道对接文档


撞库请求接口

<h2>撞库请求:</h2> <ul> <li>功能说明:用于提交当前手机要提交的信息有无已经提交过了,如果数据我方已经存在,则无需继续提交</li> <li>请确保测试环境接通后,再切换正式接口地址,然后使用商务提供的正式参数</li> <li>如果本接口返回200 则可进行下一步接口请求操作</li> <li>如果请求本接口超过3秒未返回结果,则默认我方已存在,无需进件</li> </ul> <hr /> <ul> <li> <p>测试环境接口地址: <a href="http://test-ad.haoxin361.cn/hit"><a href="http://test-ad.haoxin361.cn/hit">http://test-ad.haoxin361.cn/hit</a></a></p> </li> <li>正式环境接口地址: <a href="http://ad.haoxin361.cn/hit"><a href="http://ad.haoxin361.cn/hit">http://ad.haoxin361.cn/hit</a></a></li> </ul> <p><strong>签名:</strong></p> <pre><code>签名为保证传输内容的合法性,需要对传输内容进行签名。 签名算法采用 MD5,字符串为小写。 测试环境: AppKey : bc31ed77c017aeb1 AppSecret : 20b1b7ee55e9ee46444e4154b36a6161 正式环境的参数有对接商务提供</code></pre> <h5>签名计算方式</h5> <pre><code>sign = md5(appKey + appSecret + phoneMd5 + timestamp);其中appSecret由接收方提供</code></pre> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong></p> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>appKey</td> <td>是</td> <td>string</td> <td>接收方提供</td> </tr> <tr> <td>sign</td> <td>是</td> <td>string</td> <td>Md5签名</td> </tr> <tr> <td>timestamp</td> <td>是</td> <td>string</td> <td>时间戳 到秒级 例:1704042061,10位</td> </tr> <tr> <td>phoneMd5</td> <td>是</td> <td>string</td> <td>明文电话号码Md5加密值(小写),用于判断是否重复</td> </tr> <tr> <td>province</td> <td>是</td> <td>string</td> <td>省 <code>全称,如果有省 必须包含“省”这个字,如广东省 江西省,直辖市、行政区可以传空</code></td> </tr> <tr> <td>city</td> <td>是</td> <td>string</td> <td>市 <code>全称,如果有市 必须包含“市”这个字,如广州市 江门市</code></td> </tr> </tbody> </table> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>msg</td> <td>string</td> <td>描述信息</td> </tr> <tr> <td>code</td> <td>integer</td> <td>请求状态码</td> </tr> </tbody> </table> <p><strong>code说明</strong></p> <table> <thead> <tr> <th>Code</th> <th>Description</th> <th>msg</th> </tr> </thead> <tbody> <tr> <td>200</td> <td>成功</td> <td>SUCCESS</td> </tr> <tr> <td>401</td> <td>失败</td> <td>数据异常</td> </tr> </tbody> </table>

页面列表

ITEM_HTML