简要描述:

机主设备图片链接

请求域名:

  • http://xx.com

请求路由:

route=plugin.water-machine.frontend.consumer.without-card.index

返回示例:

正确时返回:

{
  "result": 1,
  "msg": "ok",
  "data": {
    "current_page": 1,
    "data": [
      {
        "id": 1,
        "uniacid": 1,
        "member_id": 11,
        "order_id": 448,
        "device_no": "861551054030135",
        "status": 1,
        "created_at": "2023-03-16 11:51:36",
        "updated_at": "2023-03-16 18:40:02",
        "msg": "成功",
        "status_name": "已付款",
        "member": {
          "uid": 11,
          "nickname": "12345678009",
          "avatar": "http://localhost/static/images/photo-mr.jpg",
          "avatar_image": "http://localhost/static/images/photo-mr.jpg",
          "username": "12345678009"
        },
        "order": {
          "id": 448,
          "uniacid": 1,
          "uid": 11,
          "order_sn": "SN2303161700FAD2C5",
          "price": "1.00",
          "goods_price": "1.00",
          "goods_total": 1,
          "status": 0,
          "create_time": "2023-03-16 17:00:47",
          "is_deleted": 0,
          "is_member_deleted": 0,
          "finish_time": "2023-03-16 17:01:00",
          "pay_time": "2023-03-16 17:01:00",
          "send_time": "2023-03-16 17:01:00",
          "cancel_time": "2023-03-16 18:38:59",
          "created_at": 1678957247,
          "updated_at": 1678963139,
          "deleted_at": 0,
          "cancel_pay_time": "1970-01-01 08:00:00",
          "cancel_send_time": "1970-01-01 08:00:00",
          "dispatch_type_id": 0,
          "dispatch_price": "0.00",
          "discount_price": "0.00",
          "pay_type_id": 84,
          "order_goods_price": "1.00",
          "deduction_price": "0.00",
          "refund_id": 49,
          "is_plugin": 0,
          "change_price": "0.00",
          "change_dispatch_price": "0.00",
          "comment_status": 0,
          "order_pay_id": "1149",
          "is_virtual": 1,
          "plugin_id": 0,
          "mark": "0",
          "is_pending": 0,
          "note": null,
          "cost_amount": "1.00",
          "shop_name": "平台自营",
          "no_refund": 1,
          "need_address": 1,
          "invoice_type": null,
          "rise_type": null,
          "collect_name": null,
          "company_number": null,
          "invoice": null,
          "auto_receipt": 0,
          "fee_amount": "0.00",
          "service_fee_amount": "0.00",
          "is_all_send_goods": 0,
          "close_reason": null,
          "vip_order_goods_price": "1.00",
          "initial_freight": "0.00",
          "tax_fee": "0.00",
          "created_type": 0,
          "status_name": "待付款",
          "pay_type_name": "未支付",
          "process": [],
          "has_one_pay_type": {
            "id": 84,
            "name": "拉卡拉-支付宝",
            "plugin_id": 0,
            "code": "lakalaAlipay",
            "type": 2,
            "unit": "分",
            "updated_at": "2023-03-09 10:06:41",
            "created_at": "2022-02-16 15:43:59",
            "deleted_at": null,
            "setting_key": "lakala_pay.set",
            "need_password": 0,
            "group_id": 0
          }
        },
        "device": {
          "id": 22,
          "uniacid": 1,
          "merchant_id": 12,
          "merchant_member_id": 11,
          "device_no": "861551054030135",
          "address": "龙园山庄社康门口",
          "lately_at": null,
          "created_at": "2023-03-17 14:23:37",
          "updated_at": "2023-03-17 14:23:37"
        }
      }
    ],
    "first_page_url": "http://localhost/addons/yun_shop/api.php?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://localhost/addons/yun_shop/api.php?page=1",
    "next_page_url": null,
    "path": "http://localhost/addons/yun_shop/api.php",
    "per_page": 15,
    "prev_page_url": null,
    "to": 1,
    "total": 1
  }
}


返回参数说明:

参数名 类型 说明
data.device_no string 设备号
data.device.address string 地址
data.order.order_sn string 订单
data.created_at string 时间
data.order.price string 支付金额
data.status_name string 状态