API第二版文档

API第二版文档


充值-获取优惠设置

<p><strong>请求方法名:</strong> </p> <ul> <li><code>GetPreferenceNewConfig</code></li> </ul> <p><strong>请求参数:</strong> </p> <ul> <li><code>{&amp;quot;Type&amp;quot;:&amp;quot;1&amp;quot;,&amp;quot;CashConfigId&amp;quot;:&amp;quot;9440&amp;quot;}</code></li> </ul> <p><strong>请求参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">字段</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">空</th> <th>默认</th> <th>注释</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">int</td> <td style="text-align: left;">是</td> <td></td> <td>公司入款=1,在线入款=2</td> </tr> <tr> <td style="text-align: left;">cashConfigId</td> <td style="text-align: left;">int</td> <td style="text-align: left;">是</td> <td></td> <td>支付通道ID</td> </tr> </tbody> </table> <p><strong>请求方式:</strong></p> <ul> <li>GET/POST </li> </ul> <p><strong>返回示例</strong></p> <pre><code>{ &amp;quot;Status&amp;quot;: true, &amp;quot;Info&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;Data&amp;quot;: { &amp;quot;RechargePrivilege&amp;quot;: 4, &amp;quot;PreferenceMax&amp;quot;: 0, &amp;quot;PreferenceLine&amp;quot;: 10, &amp;quot;PreferencePercent&amp;quot;: 10, &amp;quot;IsFirst&amp;quot;: false }, &amp;quot;Code&amp;quot;: 0 }</code></pre> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th style="text-align: left;">字段</th> <th>注释</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">RechargePrivilege</td> <td>存款优惠。1、首次存款送优惠,2、每次存款送优惠,3、首次优惠但可放弃优惠,4、每次优惠但可放弃优惠</td> </tr> <tr> <td style="text-align: left;">PreferenceMax</td> <td>优惠上限</td> </tr> <tr> <td style="text-align: left;">PreferenceLine</td> <td>达多少量</td> </tr> <tr> <td style="text-align: left;">PreferencePercent</td> <td>优惠百分比</td> </tr> <tr> <td style="text-align: left;">IsFirst</td> <td>首次存款</td> </tr> </tbody> </table>

页面列表

ITEM_HTML