usercoin

usercoin


1.1.2 国家代码语言货币

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>国家代码和货币接口 (本接口的货币价格已停止更新)</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://xx.com/api/Systeminfo/CountryCode</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET 或 POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">cache</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>缓存模式,2重新抓取,调试或者需要最新数据时候使用</td> </tr> <tr> <td style="text-align: left;">wallet_type</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>钱包归类,money_wallet 国家货币, coin_wallet数字钱包</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 0, "msg": "成功", "data": { "country_coin": [ { "id": 8, "country_code": "US", "country_name": "United States of America", "phone_code": "+1", "country_coin": "USD", "coin_price": "1.000000000", "top_price": "0.000000000", "is_sendsms": 1, "wallet_type": "money_wallet", "coin_rate": "0.000000000", "order": 100, "status": 1, "remark": null, "country_lang": "en" }, { "id": 9, "country_code": "KR", "country_name": "South Korea", "phone_code": "+82", "country_coin": "KRW", "coin_price": "1211.058765000", "top_price": "0.000000000", "is_sendsms": 1, "wallet_type": "money_wallet", "coin_rate": "0.000000000", "order": 100, "status": 1, "remark": null, "country_lang": "en" }, { "id": 10, "country_code": "HKD", "country_name": "HKD", "phone_code": "", "country_coin": "HKD", "coin_price": "7.812355000", "top_price": "0.000000000", "is_sendsms": 2, "wallet_type": "coin_wallet", "coin_rate": "0.000000000", "order": 100, "status": 1, "remark": null, "country_lang": "en" }, { "id": 11, "country_code": "SG", "country_name": "Singapore", "phone_code": "+65", "country_coin": "SGD", "coin_price": "1.354717000", "top_price": "0.000000000", "is_sendsms": 1, "wallet_type": "money_wallet", "coin_rate": "0.000000000", "order": 100, "status": 1, "remark": null, "country_lang": "en" }, ... ... },         "coinset_config": []     } }</code></pre> <h5>返回参数说明</h5> <p>更多参数以实际返回的接口为准,经常更新。 国家区号和货币汇率 system_country_coin <code>country_code</code> '国家代码', <code>country_name</code> '国家名称', <code>phone_code</code> '国家 国际区号', <code>country_coin</code> '国家货币名称', <code>is_sendsms</code> '注册是否开启发送短信 1启用 2禁用', <code>wallet_type</code> '钱包归类 默认money_wallet 国家货币, coin_wallet数字钱包  virtual_wallet系统钱包', <code>order</code> '排序', <code>status</code> '1启用 2禁用', <code>remark</code> '备注', <code>country_lang</code> '注册时候国家使用默认语言界面',</p> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML