💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 商品下单接口 [TOC] ~~~[api] post:http://xxxxxx.com/api/goods/getOrderStatus *username=默认值#用户名 *order_no=xxxxxxxxxxxxxxxxxxxx#下单返回的订单号 *sign=sadsadasdweqweqweqwe#密钥 具体加密方法查看附加信息 <<< success { "code": 0, "message": "交易成功", "data": { "status": 2 "refundstatus": 1 "refundmoney":0, "pay_no": "API753388611B40206461602220993388", "is_automatic": 1 "kami": [ "4" ] } } <<< error { "code": -1 //失败, "message": "验签错误", "data": { "author": "LWCMS", "qq": "xxxxxxx", "host": "http://ccfk.cc" } } ~~~ > 返回结果说明: > 成功:{"code":0,"message":"交易成功","data":{....}} > 失败:{"code":-1,"message":"签名错误"} | 字段名 | 变量名 | 类型 | 示例值 | 描述 | | --- | --- | --- | --- | --- | | 返回状态码 | code | Int | 0 | 0为成功,其它值为失败 | | 返回消息提示 | message| String | 下单成功 | 状态码为0时返回下单成功,不为0时返回错误提示 | > 返回参数data参数说明 | 字段名 | 描述 | | --- | --- | | status| 订单状态: 卡密商品状态2成功 手工商品5成功 5已发货 3已超时 4待发货 6卡密不足 7退款中 8已退款 9处理中| | refundstatus| 退款状态: 如果status 等于8 时 refundstatus 等于0 说明全额退款 当status 等于8 refundstatus等于1 说明部分退款| | refundmoney| 退款金额: 当 refundstatus为1时 才有值| | pay_no| 订单号| | is_automatic| 1卡密商品 2手工商品| | kami| 当商品是卡密商品时 返回购买卡密列表 数组|