联拓富快速接入版移动支付接口

联拓富快速接入版移动支付接口


加油订单缓存

<h5>接口使用描述</h5> <pre><code>油品编号对应关系</code></pre> <p>汽油92号 - LT00092 汽油95号 - LT00095 汽油98号 - LT00098 柴油0号 - LT00000 柴油10号 - LT00010 柴油20号 - LT00020 柴油30号 - LT00030 天然气 - LT0000A</p> <h5>接口地址</h5> <pre><code> 接口地址:https://api.liantuofu.com/open/gasStation/saveLatestOrder</code></pre> <p>&lt;br/&gt;</p> <h4>请求参数&lt;img src='<a href="https://www.showdoc.cc/server/api/common/visitfile/sign/bfc24f8d7eb93fae8e66d4ab2b4bc461?showdoc=.jpg">https://www.showdoc.cc/server/api/common/visitfile/sign/bfc24f8d7eb93fae8e66d4ab2b4bc461?showdoc=.jpg</a>' align='right' style=' width:300px;height:100 px'/&gt;</h4> <table> <thead> <tr> <th><strong>NO</strong></th> <th><strong>字段</strong></th> <th><strong>名称</strong></th> <th><strong>长度</strong></th> <th><strong>必填</strong></th> <th><strong>示例</strong></th> <th><strong>说明</strong></th> </tr> </thead> <tbody> <tr> <td>1</td> <td>appId</td> <td>合作方标识</td> <td>string</td> <td>Y</td> <td>EW_N2949193174</td> <td>合作商户编码,用于以后所有接口发起请求时验签使用</td> </tr> <tr> <td>2</td> <td>merchantCode</td> <td>门店编号</td> <td>string</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>3</td> <td>random</td> <td>随机数</td> <td>string</td> <td>Y</td> <td>123</td> <td>用来增加加密验签的复杂度,长度不限制,只限制传递数字,不支持中文,字母,特殊符号。</td> </tr> <tr> <td>4</td> <td>sign</td> <td>签名。具体参见“<a href="https://www.showdoc.cc/web/#/liantuofu?page_id=673453270295568">签名规则</a>”</td> <td>string</td> <td>Y</td> <td>1b70687c8a4c72f50c749baf95a482c0</td> <td>MD5加密验签值。具体参见“<a href="https://www.showdoc.cc/web/#/liantuofu?page_id=673453270295568">签名规则</a>”</td> </tr> <tr> <td>5</td> <td>orderListJson</td> <td>订单信息</td> <td>json</td> <td>Y</td> <td>[{ &quot;orderNo&quot;: &quot;202103091000000001&quot;, &quot;serialNo&quot;: &quot;123&quot;, &quot;gunNo&quot;: 1, &quot;oilNo&quot;: &quot;LT00093&quot;, &quot;quantity&quot;: 21.54, &quot;price&quot;: 12345.68, &quot;amount&quot;: 123.35, &quot;recordTime&quot;: &quot;20210227112233&quot;, &quot;operatorId&quot;: 1 }]</td> <td>订单信息</td> </tr> </tbody> </table> <hr /> <h4>orderListJson</h4> <table> <thead> <tr> <th><strong>NO</strong></th> <th><strong>字段</strong></th> <th><strong>名称</strong></th> <th><strong>长度</strong></th> <th><strong>必填</strong></th> <th><strong>示例</strong></th> <th><strong>说明</strong></th> </tr> </thead> <tbody> <tr> <td>1</td> <td>orderNo</td> <td>订单号</td> <td>string</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>2</td> <td>serialNo</td> <td>流水号</td> <td>string</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>3</td> <td>gunNo</td> <td>加油枪号</td> <td>int</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>4</td> <td>oilNo</td> <td>加油油号</td> <td>int</td> <td>Y</td> <td>汽油92号 - LT00092 汽油95号 - LT00095 汽油98号 - LT00098 柴油0号 - LT00000 柴油10号 - LT00010 柴油20号 - LT00020 柴油30号 - LT00030 天然气 - LT0000A</td> <td></td> </tr> <tr> <td>5</td> <td>quantity</td> <td>加油数量</td> <td>string</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>6</td> <td>price</td> <td>油品价格</td> <td>number</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>7</td> <td>amount</td> <td>订单金额</td> <td>number</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>8</td> <td>recordTime</td> <td>加油时间yyyyMMddHHmmss</td> <td>string</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>9</td> <td>operatorId</td> <td>员工ID</td> <td>int</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>10</td> <td>outOperatorNo</td> <td>外部员工编号</td> <td>string</td> <td>Y</td> <td></td> <td></td> </tr> <tr> <td>11</td> <td>channelFlag</td> <td>渠道标识 0无标识 1有标识</td> <td>int</td> <td>Y</td> <td></td> <td></td> </tr> </tbody> </table> <hr /> <h4>响应参数</h4> <table> <thead> <tr> <th><strong>NO</strong></th> <th><strong>字段</strong></th> <th><strong>名称</strong></th> <th><strong>长度</strong></th> <th><strong>必填</strong></th> <th><strong>示例</strong></th> <th><strong>说明</strong></th> </tr> </thead> <tbody> <tr> <td>1</td> <td>code</td> <td>返回结果</td> <td>string</td> <td>Y</td> <td>SUCCESS</td> <td>SUCCESS:成功 FAILED:失败</td> </tr> <tr> <td>2</td> <td>msg</td> <td>结果描述</td> <td>string</td> <td>Y</td> <td>查询成功</td> <td>无论是成功或者失败,message都会针对于当前的结果返回响应的结果描述</td> </tr> </tbody> </table> <hr /> <h5>请求示例:</h5> <pre><code></code></pre> <h5>响应示例(成功):</h5> <pre><code class="language-json">{ &amp;quot;code&amp;quot;:&amp;quot;SUCCESS&amp;quot;, &amp;quot;msg&amp;quot;:&amp;quot;查询成功&amp;quot; }</code></pre> <pre><code></code></pre>

页面列表

ITEM_HTML