1、领取接口
1.1 接口地址
https://域名/app/index.php?i=1&c=entry&ctrl=system&ac=common&op=vipRedpacket&ta=index&do=mobile&m=we7_wmall&from=vue
1.2 接口参数
| 参数名称 | 类型 | 说明 | 实例 |
| mobile | String | 手机号 | 13333333333 |
| agentid | String | 权益ID | 1 |
| sign | String | 签名 |
1.3 签名方式
将接口参数按照agentid=对应的值&mobile=对应的值的方式连接后,进行md5加密即可
示例:待签名字符串 agentid=1&mobile=13333333333
md5加密后字符串 aa7980680b5eb5078c77e1241dbb801e
1.4 接口请求方式
POST
Content-Type:application/x-www-form-urlencoded
1.5 请求响应
| 参数名称 | 类型 | 说明 | 示例 |
| errno | Int | 错误号 | 0 成功 -1失败 |
| message | String | 描述文字 | 红包领取成功 |
| data | |||
| ordersn | String | 领取记录ID | 20260814103935154282 |
正确响应示例
{
errno: 0,
message: '红包领取成功',
data: {
ordersn: '20260814103935154282'
}
}
错误响应示例
{
errno: -1,
message: '手机号不能为空'
}
2、查询接口
2.1 接口地址
https://域名/app/index.php?i=1&c=entry&ctrl=system&ac=common&op=vipRedpacket&ta=query&do=mobile&m=we7_wmall&from=vue
2.2 接口参数
| 参数名称 | 类型 | 说明 | 实例 |
| ordersn | String | 领取记录ID | 20260814103935154282 |
| sign | String | 签名 |
2.3 签名方式
将接口参数按照ordersn=对应的值的方式连接后,进行md5加密即可
示例:待签名字符串 ordersn=20260814103935154282
md5加密后字符串 8ef6386e2495514f3f69f27b5b0472be
2.4 接口请求方式
POST
Content-Type:application/x-www-form-urlencoded
2.5 请求响应
| 参数名称 | 类型 | 说明 | 示例 |
| errno | Int | 错误号 | 0 成功 -1失败 |
| message | String | 描述文字 | |
| data | |||
| ordersn | String | 领取记录ID | 20260814103935154282 |
| agentid | Int | 权益ID | 1 |
| mobile | String | 手机号 | 18299999999 |
| addtime | String | 领取时间 | 2026-08-14 10:39:35 |
| starttime | String | 权益开始日期 | 2026-09-04 23:59:59 |
| endtime | String | 权益结束日期 | 2026-10-05 23:59:59 |
| redpackets | Array | 发放红包 | |
| id | Int | 红包ID | 1 |
| discount | Float | 红包金额 | 5 |
| condition | Float | 红包使用条件(满多少元) | 20 |
| addtime | String | 红包发放时间 | 2026-08-14 10:39:35 |
| starttime | String | 红包有效期开始时间 | 2026-09-04 23:59:59 |
| endtime | String | 红包有效期结束时间 | 2026-10-05 23:59:59 |
| usetime | String | 红包使用时间 | |
| status | String | 红包状态 | 1未使用 2已使用 3已过期 |
| status_cn | String | 红包状态说明 | 未使用 |
正确响应示例
{
"errno": 0,
"message": "",
"data": {
"ordersn": "20260814103935154282",
"agentid": 1,
"mobile": "18299999999",
"addtime": "2026-08-14 10:39:35",
"starttime": "2026-09-04 23:59:59",
"endtime": "2026-10-05 23:59:59",
"redpackets": [{
"id": "303",
"discount": "5.00",
"condition": "0.00",
"addtime": "2026-08-14 10:39:35",
"starttime": "2026-08-14 10:39:35",
"endtime": "2026-09-14 10:39:35",
"usetime": "",
"status": "1",
"status_cn": "未使用"
}, {
"id": "304",
"discount": "6.00",
"condition": "0.00",
"addtime": "2026-08-14 10:39:35",
"starttime": "2026-08-14 10:39:35",
"endtime": "2026-09-14 10:39:35",
"usetime": "",
"status": "1",
"status_cn": "未使用"
}, {
"id": "305",
"discount": "7.00",
"condition": "0.00",
"addtime": "2026-08-14 10:39:35",
"starttime": "2026-08-14 10:39:35",
"endtime": "2026-09-14 10:39:35",
"usetime": "",
"status": "1",
"status_cn": "未使用"
}, {
"id": "306",
"discount": "8.00",
"condition": "20.00",
"addtime": "2026-08-14 10:39:35",
"starttime": "2026-08-14 10:39:35",
"endtime": "2026-09-14 10:39:35",
"usetime": "",
"status": "1",
"status_cn": "未使用"
}]
}
}
错误响应示例
{
errno: -1,
message: '领取记录ID不能为空'
}

![校米粒外卖跑腿系统-最新版本V68.3.0更新日志[2026-10-27][更新日志]|校米粒外卖跑腿系统offer门户|专注打造外卖跑腿软件系统的深度开发](https://img.xiaomili.pro/wp-content/uploads/2021/09/图怪兽_05a711f5d655d5fd0d48e9b291c92f1e_94197.jpg)












请登录后查看评论内容