个人项目
  1. 陪诊小程序
个人项目
  • 陪诊小程序
    • 登录接口
      GET
    • 首页地区和初始化信息接口
      GET
    • 地区医院信息
      GET
    • 城市列表
      GET
    • 用户信息接口
      GET
    • 服务列表
      GET
    • 服务对象列表
      GET
    • 创建订单接口
      POST
    • 获取验证码
      POST
    • 验证码验证
      POST
    • 订单列表
      GET
    • 订单详情
      GET
    • 医院详情
      GET
  1. 陪诊小程序

订单列表

开发中
GET
http://159.75.169.224:7300/pz/order/list

请求参数

Query 参数
state
string 
必需
1是未支付,2是待服务,3是已完成,4是已取消,不传是全部
示例值:
1
Header 参数
token
string 
必需
示例值:
0c917b6bf59c197f32f550fec352ej86

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://159.75.169.224:7300/pz/order/list?state=1' \
--header 'token: 0c917b6bf59c197f32f550fec352ej86'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
msg
string 
必需
data
array [object {25}] 
必需
out_trade_no
string 
必需
demand
string 
必需
hospital_id
integer 
必需
hospital_name
string 
必需
price
string 
必需
receiveAddress
string 
必需
service_code
string 
必需
service_id
integer 
必需
service_name
string 
必需
service_stype
string 
必需
starttime
integer 
必需
tel
string 
必需
order_start_time
integer 
必需
transaction_id
string 
必需
trade_state
string 
必需
time_end
integer 
必需
uid
string 
必需
code_url
string 
必需
other
string 
必需
service_state
string 
必需
paidPrice
string 
必需
area_name
string 
必需
service_logo_image_url
string 
必需
address
object 
可选
_exp_time
integer 
可选
示例
{
    "code": 10000,
    "msg": "查询成功",
    "data": [
        {
            "out_trade_no": "O-TNQMN00156",
            "demand": "",
            "hospital_id": 5,
            "hospital_name": "武汉中心医院",
            "price": "0.5",
            "receiveAddress": "北京",
            "service_code": "pz3",
            "service_id": 4,
            "service_name": "就医陪诊(尊享)",
            "service_stype": "15",
            "starttime": 1703606400000,
            "tel": "23",
            "order_start_time": 1703646073614,
            "transaction_id": "",
            "trade_state": "已取消",
            "time_end": 0,
            "uid": "19",
            "code_url": "weixin://wxpay/bizpayurl?pr=xnsLbB4zz",
            "other": "",
            "service_state": "0",
            "paidPrice": "0",
            "area_name": "中部地区",
            "service_logo_image_url": "http://159.75.169.224/uploads/20231105/90ded71dd1868829b08dae540412c039.jpeg",
            "client_name": "张三"
        },
        {
            "out_trade_no": "O-cDcHE00171",
            "demand": "",
            "hospital_id": 5,
            "hospital_name": "武汉中心医院",
            "price": "0.5",
            "receiveAddress": "北京",
            "service_code": "pz3",
            "service_id": 4,
            "service_name": "就医陪诊(尊享)",
            "service_stype": "15",
            "starttime": 1703606400000,
            "tel": "23",
            "order_start_time": 1703645340979,
            "transaction_id": "",
            "trade_state": "已取消",
            "time_end": 0,
            "uid": "19",
            "code_url": "weixin://wxpay/bizpayurl?pr=rwcb7Mozz",
            "other": "",
            "service_state": "0",
            "paidPrice": "0",
            "area_name": "中部地区",
            "service_logo_image_url": "http://159.75.169.224/uploads/20231105/90ded71dd1868829b08dae540412c039.jpeg",
            "client_name": "张三"
        },
        {
            "out_trade_no": "O-WDDcJ00187",
            "demand": "",
            "hospital_id": 5,
            "hospital_name": "武汉中心医院",
            "price": "0.5",
            "receiveAddress": "北京",
            "service_code": "pz3",
            "service_id": 4,
            "service_name": "就医陪诊(尊享)",
            "service_stype": "15",
            "starttime": 1703692800000,
            "tel": "23",
            "order_start_time": 1703750271096,
            "transaction_id": "",
            "trade_state": "已取消",
            "time_end": 0,
            "uid": "19",
            "code_url": "weixin://wxpay/bizpayurl?pr=GtdjpxIzz",
            "other": "",
            "service_state": "0",
            "paidPrice": "0",
            "area_name": "中部地区",
            "service_logo_image_url": "http://159.75.169.224/uploads/20231105/90ded71dd1868829b08dae540412c039.jpeg",
            "client_name": "张三"
        },
        {
            "out_trade_no": "O-TFmCG00121",
            "address": {
                "userName": "张三",
                "cityName": "广州市",
                "countyName": "海珠区",
                "detailInfo": "新港中路397号"
            },
            "demand": "",
            "hospital_id": 5,
            "hospital_name": "武汉中心医院",
            "price": "0.5",
            "receiveAddress": "",
            "service_code": "dp",
            "service_id": 1,
            "service_name": "代跑取药",
            "service_stype": "40",
            "starttime": 1703692800000,
            "tel": "23",
            "order_start_time": 1703750320908,
            "transaction_id": "",
            "trade_state": "已取消",
            "time_end": 0,
            "uid": "19",
            "code_url": "weixin://wxpay/bizpayurl?pr=J2RG2Jrzz",
            "other": "",
            "service_state": "0",
            "paidPrice": "0",
            "area_name": "中部地区",
            "service_logo_image_url": "http://159.75.169.224/uploads/20231105/108dd2cc5c333cffcb2911e1b159bddf.png"
        }
    ]
}
修改于 2024-01-04 08:29:55
上一页
验证码验证
下一页
订单详情
Built with