- 请求方法:
- 请求URL:
https://domain.com/addons/yun_shop/api.php?route=plugin.third-sync.open.point.index
{
"body": {
"source": "dch-gdsm",
"mobile": "13544511534",
"type": "addiction",
"point": "10.00",
"serial_no": "CZ0000001",
"str_no": "mRJ8XG1oYImszwkODs4mecHdqyuRUmp7",
"timestamp": "1741791963"
},
"sign_type": "md5",
"sign": "b1e7056b384cf186e1801de4f0e8d5f6"
}
| 参数名 | 类型 | 必填 | 描述 |
|---|
| i | int | 是 | 站点唯一值 |
| sign_type | string | 是 | 签名算法 |
| sign | string | 是 | 签名 |
| body.source | string | 是 | 站点标识 |
| body.mobile | string | 是 | 手机号 |
| body.timestamp | int | 是 | 时间戳 |
| body.str_no | string | 是 | 随机字符串16位之内, 数字 + 大小写字母组合 |
| body.type | string | 是 | 积分类型, deduction 扣除, addiction 增加 |
| body.point | string | 是 | 积分数量 |
| body.serial_no | string | 是 | 流水号 |
{
"result": 1,
"msg": "操作成功",
"data": ""
}
| 参数名 | 类型 | 描述 |
|---|
| result | int | 结果 0 失败, 1成功 |
| msg | string | 信息 |
| data | string | |
- 请求方法:
- 请求URL:
https://domain.com/addons/yun_shop/api.php?route=plugin.third-sync.open.point.force
{
"body": {
"source": "dch-gdsm",
"mobile": "13544511534",
"point": "10.00",
"str_no": "mRJ8XG1oYImszwkODs4mecHdqyuRUmp7",
"timestamp": "1741791963"
},
"sign_type": "md5",
"sign": "b1e7056b384cf186e1801de4f0e8d5f6"
}
| 参数名 | 类型 | 必填 | 描述 |
|---|
| i | int | 是 | 站点唯一值 |
| sign_type | string | 是 | 签名算法 |
| sign | string | 是 | 签名 |
| body.source | string | 是 | 站点标识 |
| body.mobile | string | 是 | 手机号 |
| body.timestamp | int | 是 | 时间戳 |
| body.point | string | 是 | 积分数量 |
| body.serial_no | string | 是 | 流水号 |
{
"result": 1,
"msg": "同步成功",
"data": ""
}
| 参数名 | 类型 | 描述 |
|---|
| result | int | 结果 0 失败, 1成功 |
| msg | string | 信息 |
| data | string | |