# 查询订单

# 简要描述

-查询订单

# 请求URL
  • /api/searchOrder
# 请求头
参数名 必选 类型 说明
Content-Type string 此参数必传,当请求数据非json时此参数传对应格式如(multipartform-data,application/x-www-form-urlencoded,等)是json请传application/json
askKey string 此参数必传,验证app的令牌
sign string 此参数如果在app设置开启了验签是必传
time string 当开启验签时,此参数为必传
apiUserToken string 除了部分不验证用户令牌的接口以外此参数为必传(注册/登陆/发送验证码)不是必传,其余都是必传
# 请求方式
  • post
# 参数
参数名 必选 类型 说明
orderNo string 订单号
# 请求示例
{
    "orderNo":"AP708307953327300608"
}




1
2
3
4
5
6
7
# 返回示例
{
    "code": "200",
    "message": "",
    "status": true,
    "data": {
        "id": "708307953327300609",
        "createdBy": "0",
        "createdDate": "2022-07-16 23:29:46",
        "modifiedBy": "0",
        "modifiedDate": "2022-07-16 23:29:58",
        "status": 1,
        "ip": "0:0:0:0:0:0:0:1",
        "name": "支付订单:AP708307953327300608",
        "from": 1,
        "managementId": "645431969335300096",
        "orderExpireTime": "2022-07-16 23:34:57",
        "count": 0,
        "goodsId": "1",
        "channel": 5,
        "discount": 0.00,
        "amount": 10.00,
        "shouldPay": 10.50,
        "charge": 0.50,
        "orderNo": "AP708307953327300608",
        "state": 4
    },
    "pc": null,
    "time": null,
    "sign": null
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 返回参数说明
参数名 类型 说明
code string 状态码200成功403权限异常或登陆超时,500请求异常
status int 状态0删除1使用
data json 更新对象
id 订单id 支付金额
orderNO string 订单号
createdDate string 创建时间
name string 名称
from int 订单来源
managementId string 商户id
orderExpireTime string 订单过期时间
count int 订单数量
goodsId string 商品id
channel BigDecimal 支付方式2 微信电脑码支付,4微信码支付 5,支付宝码支付
discount BigDecimal 折扣金额
amount BigDecimal 订单金额
shouldPay BigDecimal 应付金额
charge BigDecimal 费率
state int 结果 0处理中1成功2失败3可疑4未支付5已关闭
code String 二维码(base64格式,需要转为图片)
# 备注
  • 更多返回错误代码请看首页的错误代码描述
lastUpdate: 7/25/2024, 4:20:09 PM