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

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


油机打通 - 员工绑定油枪信息查询

<h5>接口使用描述</h5> <pre><code>员工绑定了哪些油枪,查询抢号和枪名等信息。</code></pre> <h5>接口地址</h5> <pre><code> 接口地址:https://api.liantuofu.com/open/oilMachine/employeeGunsBindInfo</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>employeeId</td> <td>员工ID</td> <td>int</td> <td>N</td> <td>10241804</td> <td>每个员工都有专属id</td> </tr> <tr> <td>6</td> <td>oilsType</td> <td>油品类型 0汽油 1柴油 2天然气</td> <td>int</td> <td>N</td> <td>0</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>S</td> <td>S:成功 F:失败</td> </tr> <tr> <td>2</td> <td>msg</td> <td>结果描述</td> <td>string</td> <td>Y</td> <td>查询成功</td> <td>无论是成功或者失败,message都会针对于当前的结果返回响应的结果描述</td> </tr> <tr> <td>3</td> <td>employeeId</td> <td>员工ID</td> <td>string</td> <td>N</td> <td>10241804</td> <td>每个员工都有专属id</td> </tr> <tr> <td>4</td> <td>gunsList</td> <td>绑定油枪信息</td> <td>array</td> <td>Y</td> <td>[{&quot;gun&quot;:1,&quot;gunName&quot;:&quot;1号枪&quot;},{&quot;gun&quot;:2,&quot;gunName&quot;:&quot;2号枪&quot;}]</td> <td>绑定油枪信息,包含枪号和枪名</td> </tr> </tbody> </table> <p>&lt;br/&gt;&lt;br/&gt;</p> <h4>gunsList</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>gun</td> <td>枪号</td> <td>string</td> <td>Y</td> <td>1</td> <td>枪号</td> </tr> <tr> <td>2</td> <td>gunName</td> <td>枪名</td> <td>string</td> <td>Y</td> <td>1号枪</td> <td>枪名</td> </tr> </tbody> </table> <hr /> <h5>请求示例:</h5> <pre><code></code></pre> <h5>响应示例(成功):</h5> <pre><code class="language-json">{ &amp;quot;gunsList&amp;quot;:[{ &amp;quot;gun&amp;quot;:1, &amp;quot;gunName&amp;quot;:&amp;quot;1号枪&amp;quot; },{ &amp;quot;gun&amp;quot;:2, &amp;quot;gunName&amp;quot;:&amp;quot;2号枪&amp;quot; },{ &amp;quot;gun&amp;quot;:3, &amp;quot;gunName&amp;quot;:&amp;quot;3号枪&amp;quot; },{ &amp;quot;gun&amp;quot;:4,&amp;quot; gunName&amp;quot;:&amp;quot;4号枪&amp;quot; }], &amp;quot;code&amp;quot;:&amp;quot;S&amp;quot;, &amp;quot;msg&amp;quot;:&amp;quot;查询成功&amp;quot; }</code></pre> <pre><code></code></pre>

页面列表

ITEM_HTML