简要描述:

请求域名:

  • http://xx.com

请求URL:

POST/plugin.store-code.api.code.info

参数:

参数名 是否必须 类型 说明
code string 收款码编码

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "success",
    "data": {
        "id": 4,
        "uniacid": 1,
        "store_id": 1,
        "code": "LFkHTXPJa5gw",
        "h5_path": "/storage/app/public/store_code/qr/1af490a63ee4492707df014044821850.png",
        "mini_path": null,
        "created_at": "2025-01-21 15:41:17",
        "updated_at": "2025-01-21 17:44:30",
        "deleted_at": null,
        "status": 2,
        "has_one_store": {
            "id": 1,
            "uniacid": 1,
            "uid": 2,
            "store_name": "测试门店1",
            "thumb": "newimage/5df9be49030c17f4bec009e8c5138057.jpg",
            "category_id": "1",
            "province_id": 110000,
            "city_id": 110100,
            "district_id": 110101,
            "street_id": 110101001,
            "address": "嘎嘎嘎",
            "longitude": "116.413384",
            "latitude": "39.910925",
            "mobile": "18312687429",
            "store_introduce": "第七位多群",
            "username": "mendian",
            "password": "$2y$10$nl7Vxh2YiYSk6EBFL6oEM.fyYMxXuJ2g8HDsyjQh9Th",
            "template_id": "",
            "salers": "a:0:{}",
            "cashier_id": 5,
            "created_at": "2024-12-04 10:46:05",
            "updated_at": "2024-12-04 10:46:07",
            "deleted_at": null,
            "business_hours_start": "08:45",
            "business_hours_end": "15:45",
            "aptitude_imgs": [
                "newimage/b6fe05dece671a37fd07cb8d36ff879f.jpg"
            ],
            "dispatch_type": [
                1,
                2,
                3
            ],
            "affiche": "",
            "user_uid": 2,
            "information": "",
            "is_black": 0,
            "banner_thumb": "",
            "is_hide": 0,
            "specify_show": 0,
            "operating_state": 0,
            "boss_uid": 0,
            "audio_open": 0,
            "initials": "B",
            "validity": 2147483647,
            "validity_status": 0,
            "id_card_imgs": [
                "",
                ""
            ],
            "other_imgs": null,
            "yun_horn": "",
            "zkc_pay": null,
            "salt": "M7oHloRl",
            "home_store_url": null,
            "goods_store_url": null,
            "collect_money_url": null,
            "payment_jump_minapp": null,
            "payment_jump_h5": null,
            "is_open_jump": 0,
            "separate_payment_jump_minapp": null,
            "separate_payment_jump_h5": null,
            "balance_id": 0,
            "adv_img": null,
            "store_index_show": null,
            "full_address": "北京市 北京市 东城区 东华门街道 嘎嘎嘎",
            "dispatch": "快递、门店自提、门店配送、",
            "average_score": 5,
            "order_total": 74,
            "validity_status_name": "入驻中",
            "change_thumb": "http://43.142.236.174/static/upload/newimage/5df9be49030c17f4bec009e8c5138057.jpg"
        }
    }
}

返回参数data说明:

参数名 类型 说明
store_id int 绑定门店id 该值不为空就代表该码已被其他门店绑定
code string 收款码编码

返回参数data.has_one_store说明:

参数名 类型 说明
id int 门店id
store_name string 门店名称
change_thumb string 门店图片完整地址
full_address string 门店完整地址信息