易企生活API接口文档
描述
接口协议
接口
发送验证码接口
验证验证码
创建订单
查询订单
查询余额
查询产品列表
异步通知接口
本文档使用 MrDoc 发布
-
+
首页
查询产品列表
**简要描述** - 查询产品列表 **请求URL** - http://ip:port/el-api/open-api/v1/listProduct **请求URL** - GET **header** ```javascript Content-Type: application/x-www-form-urlencoded X-App-Id: appId X-Sign: signStr X-TIMESTAMP: timestamp ``` **参数** ```javascript keyword=100元&pageNo=1&pageSize=10 ``` | 参数 | 类型 | 描述 | | --- | --- | --- | | keyword | String | 关键字 | | pageNo | int | 页码 | | pageSize | int | 页大小 | **响应结果** ```javascript { "code": 200, "message": "", "result": { "total": 1, "current": 1, "pages": 1, "size": 10, "records": [{ "nominalAmountUnit": "元", "sortIndex": 4, "description": "移动慢充100元,96小时到账,不可取消,介意请勿下单。", "productFlag": "mc_100", "costFixPriceType": "1", "typeFlag": "HuaFeiChongZhi", "costFixPriceVal": 95.00, "name": "移动慢充100元", "nominalAmount": 100.00 }] }, "success": true } ``` | 参数 | 类型 | 描述 | | --- | --- | --- | | code | String | 请求返回码,200请求成功,其他参考错误返回码说明 | | message | String | 对应描述 | | success | int | 请求成功true,请求失败false | | - result | Object | 相应结果 | | total | int | 总条数 | | current | int | 当前页 | | pages | int | 页数 | | size | int | 页大小 | | --records | String | 备注 | | nominalAmountUnit | String | 面值单位:MB/GB/元 | | sortIndex | String | 排序 | | description | String | 说明 | | productFlag | String | 产品标识 | | costFixPriceType | String | 定价类型(1按折扣、2按售价、3按手续费) | | typeFlag | String | 产品类型标识 | | costFixPriceVal | String | 成本折扣/金额 | | name | String | 产品名称 | | nominalAmount | BigDecimal | 面值 | | productType | String | 充值类型( 1、快充 2、慢充 3、流量) | | rangeType | String | 充值范围 1、全国 2、省、3、地市 | | areaCodes | String | 专属地区(编码)(多个用,号隔开) | | areaTexts | String | 专属地区(多个用,号隔开) | | operatorType | String | 运营商类型 1、移动 2、电信 3、联通 | | codeNum | Integer | 验证码数量 | | imeiCount | Integer | IMEI号数量 | | jigsawCaptcha | Stirng | 拼图验证码 none 时不需要验证 |
神马
2023年10月19日 12:21
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码