简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-02-02

请求URL:

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
order_id int 订单id
price int 价格
rand_str string 随机字符串
status int 状态【1=成功,2=失败】
sign string 签名,规则:md5(order_id=$all['order_id']&price=$all['price']&status=$all['status']&key=$this->key$all['rand_str'])

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "支付成功",
    "data": [],
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "你已购买本小说",
    "data": [],
    "other": []
}

返回参数说明:

参数名 类型 说明

备注:

作者:admin  创建时间:2021-02-02 15:41
 更新时间:2025-05-24 17:35
上一篇:
下一篇: