行业类-微信支付
<p><strong>1、api key</strong></p>
<p><strong>api key</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p4"> </p><p class="p4"><span class="s1">正式环境地址</span>: <a href="http://bs.qbwelink.cn/</p><p">http://bs.qbwelink.cn/</p><p</a> class="p4"> </p><p class="p4"><span class="s1">公钥:</span>MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCav1EvrWAulaa7kyILrUkGCjWHwWqgwZR5FihVBnkbvBQwJokz5H+9qcYJ0eVbekCUdND9spEGcHEyZF0ED1es5bdavPRo5q0nSrfCm+ieHbevsIFrcdpnGM3J5Z8B9hQQHtshdRg3qDo2Wx3TTmoAXEFX15BghCINJyI19wUhJwIDAQAB</p><p class="p4"> </p><p class="p5">私钥:</p><p class="p4">MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAJq/US+tYC6VpruTIgutSQYKNYfBaqDBlHkWKFUGeRu8FDAmiTPkf72pxgnR5Vt6QJR00P2ykQZwcTJkXQQPV6zlt1q89GjmrSdKt8Kb6J4dt6+wgWtx2mcYzcnlnwH2FBAe2yF1GDeoOjZbHdNOagBcQVfXkGCEIg0nIjX3BSEnAgMBAAECgYBwJWxp2AUXXZ8K2zNWMQv105o9ux9SR1gZdMRf8iP8xI4A4zyVnegxhIMgBLxqUivRKuN2qF1PxFdUxMVgNto7LnPZaUIC8KFsY9JofnmEbrhyBZNuiyXPYhxrT5C7Asq4vd+B6JkIgpepkWVNubi9KIpHWYuJ3gdrkN/mIHDkkQJBAO++bE4bMjkvVlQLpuiLLkBgvL1aHwpTtm3tfD+kFTlqMfgBaSevk7cEroEKcimBslYTcmi08TkLBMpg8TGBve8CQQClPXzwkX4dJOsPkeqSMHEAKPOpQ66ISO780RA6mt2gOMQDInyV5lSHAhkY08a9rMRcaYV9wuAgGPLEqsPk0YhJAkAM/IWlXXfE/Tlx6AeshQ2GUzcmEqGnz40MO1cFo3+60nPOeVUW3z3jJg/F0akJcosUeo0x+ssuSdiClem6wsplAkA0y+y7wQEWttEUbH8Srr+sWWlhT+rYSNVzmikhUJI3u2uFxOMh0jJ34Me8Ew6RVD55eI3anQWXu+D1zcpBtmFhAkEArTW2O2feuz9P9wbEELElz9DkIFF3Dml393LnQSbi2+LjniVbkTmoIVAs1eRueL3DtrY8XouBrSuEdSYEw2PVOg==</p><p class="p4"> </p><p class="p4">appId<span class="s1">:</span>qbe26a3c0e006a4e98a0e8ccec8e408b7e</p><p class="p4">appSecret<span class="s1">:</span>0a3c7fbe03734ce8b74b25da8e431c5a</p><p class="p4"> </p><p class="p4">appSecret <span class="s1">公钥加密后</span></p><p class="p4">bfayzWrONYdDnAI7/adVlk3xlRYhoI5Z+Jgs4LO3B/C+c8snNvVcaKitTSHhJ8BkrdtEzfBPt31CkbhkPJoGIz00Q1y7n/ixGBDG+yLIBSM5JwB5wh5CG1gENho5iZg3jIgVMlPtF+C4MArx/WILyaVg8M3Xz2yGcAevxrngEVo=</p></td></tr></tbody></table></p>
<p><strong>appSecret 加密</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p4">/*<em></p><p class="p4"> </em> <span class="s1">公钥加密</span></p><p class="p4"> <em></p><p class="p4"> </em> @param publicKeyString <span class="s1">公钥</span></p><p class="p4"> <em> @param appSecret <span class="s1">待加密的</span> appSecret</p><p class="p4"> </em> @return <span class="s1">加密后的文本</span></p><p class="p4"> */</p><p class="p4"> public static String encryptByPublicKey(String publicKeyString, String appSecret ) throws Exception</p><p class="p4"> {</p><p class="p4"> X509EncodedKeySpec x509EncodedKeySpec2 = new X509EncodedKeySpec(Base64.decodeBase64(publicKeyString));</p><p class="p4"> KeyFactory keyFactory = KeyFactory.getInstance("RSA");</p><p class="p4"> PublicKey publicKey = keyFactory.generatePublic(x509EncodedKeySpec2);</p><p class="p4"> Cipher cipher = Cipher.getInstance("RSA");</p><p class="p4"> cipher.init(Cipher.ENCRYPT_MODE, publicKey);</p><p class="p4"> byte<span class="s1">[]</span> result = cipher.doFinal(text.getBytes());</p><p class="p4"> return Base64.encodeBase64String(result);</p><p class="p4"> }</p></td></tr></tbody></table></p>
<p><strong>2、场地信息 推送</strong></p>
<p>[TOC]</p>
<p><strong>简要描述</strong></p>
<p>-场地信息</p>
<p><strong>请求URL</strong></p>
<p>· /api/push/addPkInfo</p>
<p><strong>请求方式</strong></p>
<p>· POST</p>
<p><strong>参数</strong></p>
<p><strong>Headers</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p8"><br></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appSecret</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">加密后</p></td></tr></tbody></table></p>
<p><strong>Body form-data</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">场地编号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkName</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">场地名称</p></td></tr><tr><td valign="top" class="td1"><p class="p4">pushType</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5">默认传值<span class="s2"> = 1</span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">cloudTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p4"><span class="s1">限制登录时间</span> yyyy-MM-dd HH:mm:ss</p></td></tr></tbody></table></p>
<p><strong>返回示例</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p4">{</p><p class="p4"> "msg": "<span class="s1">操作成功</span>",</p><p class="p4"> "code": 0</p><p class="p4">}</p></td></tr></tbody></table></p>
<p><strong>返回参数说明</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr></tbody></table></p>
<p><strong>备注</strong></p>
<p>code = 0 成功 其他失败</p>
<p><strong>3、通道信息 推送</strong></p>
<p>[TOC]</p>
<p><strong>简要描述</strong></p>
<p>-场地信息</p>
<p><strong>请求URL</strong></p>
<p>· /api/push/addLanesInfo</p>
<p><strong>请求方式</strong></p>
<p>· POST</p>
<p><strong>参数</strong></p>
<p><strong>Headers</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p8"><br></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appSecret</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">加密后</p></td></tr></tbody></table></p>
<p><strong>Body form-data</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">场地编号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">laneId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">Long</p></td><td valign="top" class="td1"><p class="p5">通道编号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">laneName</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">String</p></td><td valign="top" class="td1"><p class="p5">通道名称</p></td></tr><tr><td valign="top" class="td1"><p class="p4">laneType</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p4"><span class="s1">通道类型</span> 1 <span class="s1">进</span> 2 <span class="s1">出</span></p></td></tr><tr><td valign="top" class="td1"><p class="p4"><span class="s1">以下新增</span> <span class="s1">激活通道和限制</span> add 2022-10-09</p></td><td valign="top" class="td1"><p class="p4">-</p></td><td valign="top" class="td1"><p class="p4">-</p></td><td valign="top" class="td1"><p class="p4">-</p></td></tr><tr><td valign="top" class="td1"><p class="p4">laneStatus</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5">状态<span class="s2"> 0.</span>需要激活,<span class="s2">1.</span>永久使用,<span class="s2">2.</span>有效期</p></td></tr><tr><td valign="top" class="td1"><p class="p4">laneCloudTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">String</p></td><td valign="top" class="td1"><p class="p4"><span class="s1">当前</span>status<span class="s1">为</span>2 <span class="s1">字段生效,通道截止时间</span> yyyy-MM-dd HH:mm:ss</p></td></tr><tr><td valign="top" class="td1"><p class="p4"><span class="s1">以下新增</span> <span class="s1">通道视频</span> add 2022-10-09</p></td><td valign="top" class="td1"><p class="p4">-</p></td><td valign="top" class="td1"><p class="p4">-</p></td><td valign="top" class="td1"><p class="p4">-</p></td></tr><tr><td valign="top" class="td1"><p class="p4">sn</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">序列号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">videoStatus</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5">状态<span class="s2"> 0.</span>需要激活,<span class="s2">1.</span>永久使用,<span class="s2">2.</span>有效期</p></td></tr><tr><td valign="top" class="td1"><p class="p4">videoCloudTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">String</p></td><td valign="top" class="td1"><p class="p4"><span class="s1">当前</span>status<span class="s1">为</span>2 <span class="s1">字段生效,通道截止时间</span> yyyy-MM-dd HH:mm:ss</p></td></tr></tbody></table></p>
<p><strong>返回示例</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p4">{</p><p class="p4"> "msg": "<span class="s1">操作成功</span>",</p><p class="p4"> "code": 0</p><p class="p4">}</p></td></tr></tbody></table></p>
<p><strong>返回参数说明</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr></tbody></table></p>
<p><strong>备注</strong></p>
<p>code = 0 成功 其他失败</p>
<p><strong>4、车辆进出记录 推送</strong></p>
<p>[TOC]</p>
<p><strong>简要描述</strong></p>
<p>· 车辆进出记录</p>
<p><strong>请求URL</strong></p>
<p>· /api/push/record</p>
<p><strong>请求方式</strong></p>
<p>· POST 表单提交</p>
<p><strong>Headers</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p8"><br></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appSecret</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">加密后</p></td></tr></tbody></table></p>
<p><strong>参数</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">Long</p></td><td valign="top" class="td1"><p class="p5">场地编号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkName</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">场地名称</p></td></tr><tr><td valign="top" class="td1"><p class="p4">uploadTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">上传时间</p></td></tr><tr><td valign="top" class="td1"><p class="p4">plateNumber</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">车牌号码</p></td></tr><tr><td valign="top" class="td1"><p class="p4">laneId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">Long</p></td><td valign="top" class="td1"><p class="p4"><span class="s1">通道</span> ID</p></td></tr><tr><td valign="top" class="td1"><p class="p4">laneName</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">通道名称</p></td></tr><tr><td valign="top" class="td1"><p class="p4">passTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">通行时间</p></td></tr><tr><td valign="top" class="td1"><p class="p4">direction</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">Long</p></td><td valign="top" class="td1"><p class="p5"><span class="s2">1</span>:入场<span class="s2"> 2</span>:出场</p></td></tr><tr><td valign="top" class="td1"><p class="p4">imageUrl</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">抓拍图片<span class="s2"> oss</span>全路径地址</p></td></tr><tr><td valign="top" class="td1"><p class="p4">authType</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5">类型<span class="s2"> 1=</span>白名单<span class="s2"> 2=</span>临时车<span class="s2"> 3=</span>预约车<span class="s2"> 4=</span>异常放行<span class="s2"> 5= </span>自动放行<span class="s2"> 6=</span>预交费<span class="s2"> 7=</span>共享临时车<span class="s2"> 8=</span>共享长租车<span class="s2"> 9=</span>专有车位<span class="s2"> </span>其他<span class="s2">= </span>黑名单</p></td></tr></tbody></table></p>
<p><strong>返回示例</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p4">{</p><p class="p4"> "msg": "<span class="s1">操作成功</span>",</p><p class="p4"> "code": 0</p><p class="p4">}</p></td></tr></tbody></table></p>
<p><strong>返回参数说明</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr></tbody></table></p>
<p><strong>备注</strong></p>
<p>· 更多返回错误代码请看首页的错误代码描述</p>
<p><strong>5、车位推送信息 推送</strong></p>
<p>[TOC]</p>
<p><strong>简要描述</strong></p>
<p>· 车位推送信息</p>
<p><strong>请求URL</strong></p>
<p>· /api/push/space</p>
<p><strong>请求方式</strong></p>
<p>· POST 表单提交</p>
<p><strong>Headers</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p8"><br></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appSecret</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">加密后</p></td></tr></tbody></table></p>
<p><strong>参数</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">场地编号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkName</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">场地名称</p></td></tr><tr><td valign="top" class="td1"><p class="p4">uploadTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">上传时间</p></td></tr><tr><td valign="top" class="td1"><p class="p4">totalFreeSpace</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5">剩余车位</p></td></tr><tr><td valign="top" class="td1"><p class="p4">tmpSpace</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5">总车位</p></td></tr></tbody></table></p>
<p><strong>返回示例</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p4">{</p><p class="p4"> "msg": "<span class="s1">操作成功</span>",</p><p class="p4"> "code": 0</p><p class="p4">}</p></td></tr></tbody></table></p>
<p><strong>返回参数说明</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr></tbody></table></p>
<p><strong>备注</strong></p>
<p>· 更多返回错误代码请看首页的错误代码描述</p>
<p><strong>6、支付信息 调用</strong></p>
<p>[TOC]</p>
<p><strong>简要描述</strong></p>
<p>· 支付</p>
<p><strong>请求URL</strong></p>
<p>· /api/push/qrinpay</p>
<p><strong>请求方式</strong></p>
<p>· POST</p>
<p><strong>Headers</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p8"><br></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appSecret</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">加密后</p></td></tr></tbody></table></p>
<p><strong>参数</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">场地编号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">laneId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">通道编号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">type</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5"><span class="s2">1-</span>临时车<span class="s2">-</span>出口支付<span class="s2">,2-</span>临时车<span class="s2">-</span>预支付<span class="s2">,3-</span>包月车<span class="s2">-</span>按月缴费<span class="s2">, 4-</span>包月车<span class="s2">-</span>按年缴费<span class="s2">, 5-</span>商家充值<span class="s2">(</span>请调用商家充值接口<span class="s2">) ,6-</span>储值车</p></td></tr><tr><td valign="top" class="td1"><p class="p4">money</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">金额<span class="s2"> </span>单位<span class="s2"> </span>元</p></td></tr><tr><td valign="top" class="td1"><p class="p4">plateNumber</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">车牌号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">comment</p></td><td valign="top" class="td1"><p class="p5">否</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">备注</p></td></tr><tr><td valign="top" class="td1"><p class="p4">startTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">进场时间</p></td></tr><tr><td valign="top" class="td1"><p class="p4">endTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">出场时间</p></td></tr><tr><td valign="top" class="td1"><p class="p4">minutes</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">停留时长<span class="s2"> </span>分钟</p></td></tr><tr><td valign="top" class="td1"><p class="p4">callBackUrl</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">回调地址</p></td></tr><tr><td valign="top" class="td1"><p class="p4">outtrxid</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">交易单号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">payable</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">余额</p></td></tr><tr><td valign="top" class="td1"><p class="p4">leaveTime</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">最后离场时间</p></td></tr></tbody></table></p>
<p><strong>返回示例</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p4">{</p><p class="p4"> "msg": "succ",</p><p class="p4"> "code": 0,</p><p class="p4"> "data": {</p><p class="p4"> "tradeNo": 1554659929871224832,</p><p class="p4"> "payUrl": "<a href="https://syb.allinpay.com/apiweb/h5unionpay/unionorder?appid=00213825&cusid=56139107523S23L&version=12&charset=UTF-8&trxamt=500&reqsn=1554659929871224832&returl=https%3A%2F%2Fqb.qbwelink.cn%2Fpay%2FpaySuccess.html¬ify_url=https%3A%2F%2Fqb.qbwelink.cn%2Fqqbapi%2FgetQrinpayCallBack&body=<span">https://syb.allinpay.com/apiweb/h5unionpay/unionorder?appid=00213825&cusid=56139107523S23L&version=12&charset=UTF-8&trxamt=500&reqsn=1554659929871224832&returl=https%3A%2F%2Fqb.qbwelink.cn%2Fpay%2FpaySuccess.html¬ify_url=https%3A%2F%2Fqb.qbwelink.cn%2Fqqbapi%2FgetQrinpayCallBack&body=<span</a> class="s1">临时停车费</span>&randomstr=71618922&validtime=5&orgid=56139100000LJ3C&signtype=RSA&sign=EO5s%2Ff7u%2BFhjIpJQ05M48LzgDsegb0rOSdlL8jtfXpHk%2BEaMiKk%2FOcJPDu8vRhpblDvpNfzSNvV8DHqGJUnsUsK3fPuqgqJkN11EDwyfHU%2Blyw0KKOf%2FVqAQ6ypGeNB0yYrGJZycKGj5HDer%2F49VU1Hb2Nz0nU6s14jXsVfTXmRp5vqXaq1uXqRIsEZEcGeH2I0Xir61qyZys8JrpNpPoSmRKpMpRM2B6zhx1dkOJ70Wg91Hh8LVE0Oq0SdncwHkZyTMNhrU06FIoQNi85j7HD5ddXjz4dO4LKtOrbC5W%2FrXerM7PVpgxVeNuQp3H%2Fb97p1Gnn%2FE6EIHNzAMaZ%2FXyQ%3D%3D"</p><p class="p4"> }</p><p class="p4">}</p></td></tr></tbody></table></p>
<p><strong>返回参数说明</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">tradeNo</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5">交易流水号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">outtrxid</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p8"><br></p></td></tr><tr><td valign="top" class="td1"><p class="p4">payUrl</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">支付链接<span class="s2">, </span>扫码后<span class="s2"> </span>调用接口<span class="s2">, </span>跳转该地址<span class="s2"> </span>付款</p></td></tr></tbody></table></p>
<p><strong>7、回调接口参数说明 接收</strong></p>
<p><strong>post 表单接收参数</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">tradeNo</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">交易单号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">outtrxid</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">交易单号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkId</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">交易单号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">trxstatus</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">状态码</p></td></tr></tbody></table></p>
<p><strong>交易返回码trxstatus说明</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p5"><span class="s2">0000</span>:交易成功</p><p class="p5">其他失败!</p></td></tr></tbody></table></p>
<p><strong>8、商家支付接口 调用</strong></p>
<p>[TOC]</p>
<p><strong>简要描述</strong></p>
<p>· 支付</p>
<p><strong>请求URL</strong></p>
<p>· /api/push/qrOtherPay</p>
<p><strong>请求方式</strong></p>
<p>· POST</p>
<p><strong>Headers</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p8"><br></p></td></tr><tr><td valign="top" class="td1"><p class="p4">appSecret</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">加密后</p></td></tr></tbody></table></p>
<p><strong>参数</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>必选</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">parkId</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">场地编号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">money</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">金额<span class="s2"> </span>单位<span class="s2"> </span>元</p></td></tr><tr><td valign="top" class="td1"><p class="p4">comment</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">商家名称</p></td></tr><tr><td valign="top" class="td1"><p class="p4">callBackUrl</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">回调地址</p></td></tr><tr><td valign="top" class="td1"><p class="p4">payable</p></td><td valign="top" class="td1"><p class="p5">是</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">余额</p></td></tr></tbody></table></p>
<p><strong>返回示例</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p4">{</p><p class="p4"> "msg": "succ",</p><p class="p4"> "code": 0,</p><p class="p4"> "data": {</p><p class="p4"> "tradeNo": 1554659929871224832,</p><p class="p4"> "payUrl": "<a href="https://syb.allinpay.com/apiweb/h5unionpay/unionorder?appid=00213825&cusid=56139107523S23L&version=12&charset=UTF-8&trxamt=500&reqsn=1554659929871224832&returl=https%3A%2F%2Fqb.qbwelink.cn%2Fpay%2FpaySuccess.html¬ify_url=https%3A%2F%2Fqb.qbwelink.cn%2Fqqbapi%2FgetQrinpayCallBack&body=<span">https://syb.allinpay.com/apiweb/h5unionpay/unionorder?appid=00213825&cusid=56139107523S23L&version=12&charset=UTF-8&trxamt=500&reqsn=1554659929871224832&returl=https%3A%2F%2Fqb.qbwelink.cn%2Fpay%2FpaySuccess.html¬ify_url=https%3A%2F%2Fqb.qbwelink.cn%2Fqqbapi%2FgetQrinpayCallBack&body=<span</a> class="s1">临时停车费</span>&randomstr=71618922&validtime=5&orgid=56139100000LJ3C&signtype=RSA&sign=EO5s%2Ff7u%2BFhjIpJQ05M48LzgDsegb0rOSdlL8jtfXpHk%2BEaMiKk%2FOcJPDu8vRhpblDvpNfzSNvV8DHqGJUnsUsK3fPuqgqJkN11EDwyfHU%2Blyw0KKOf%2FVqAQ6ypGeNB0yYrGJZycKGj5HDer%2F49VU1Hb2Nz0nU6s14jXsVfTXmRp5vqXaq1uXqRIsEZEcGeH2I0Xir61qyZys8JrpNpPoSmRKpMpRM2B6zhx1dkOJ70Wg91Hh8LVE0Oq0SdncwHkZyTMNhrU06FIoQNi85j7HD5ddXjz4dO4LKtOrbC5W%2FrXerM7PVpgxVeNuQp3H%2Fb97p1Gnn%2FE6EIHNzAMaZ%2FXyQ%3D%3D"</p><p class="p4"> }</p><p class="p4">}</p></td></tr></tbody></table></p>
<p><strong>返回参数说明</strong></p>
<p><table cellspacing="0" cellpadding="0" class="t1"><tbody><tr><td valign="top" class="td1"><p class="p6"><span class="s1"><b>参数名</b></span></p></td><td valign="top" class="td1"><p class="p6"><span class="s1"><b>类型</b></span></p></td><td valign="top" class="td1"><p class="p7"><span class="s1"><b>说明</b></span></p></td></tr><tr><td valign="top" class="td1"><p class="p4">tradeNo</p></td><td valign="top" class="td1"><p class="p4">long</p></td><td valign="top" class="td1"><p class="p5">交易流水号</p></td></tr><tr><td valign="top" class="td1"><p class="p4">payUrl</p></td><td valign="top" class="td1"><p class="p4">string</p></td><td valign="top" class="td1"><p class="p5">支付链接<span class="s2">, </span>扫码后<span class="s2"> </span>调用接口<span class="s2">, </span>跳转该地址<span class="s2"> </span>付款</p></td></tr></tbody></table></p>