简要描述:

  • 自提点信息编辑

请求URL:

GET/POST:/plugin.package-deliver.frontend.deliver.editDeliver

GET参数 :

参数名 是否必须 类型 说明
int ''

POST参数 :

参数名 是否必须 类型 说明
deliver array 自提点数组
deliver[realname ] string 姓名
deliver[deliver_name] string 自提点名称
deliver[deliver_mobile] string 自提点电话
deliver[city_id ] integer 城市id
deliver[address] string 详细地址
deliver[business_hours_start] string 营业开始时间
deliver[business_hours_end] string 营业结束时间
deliver[thumb] array 自提点图片
deliver[id_card_front] string 身份证正面
deliver[id_card_side] string 身份证反面
deliver[aptitute] array 资质

返回示例:

GET正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "deliver": {
            "id": 1,
            "uniacid": 5,
            "uid": 332577,
            "user_uid": 11408,
            "realname": "吴京与",
            "deliver_name": "test",
            "deliver_mobile": "13333333333",
            "province_id": 370000,
            "city_id": 370300,
            "district_id": 370305,
            "street_id": 370305001,
            "address": "安达市大大所多",
            "lat": "39.915177",
            "lng": "116.403851",
            "business_hours_start": "13:05",
            "business_hours_end": "04:20",
            "aptitute": [
                "images/5/2020/08/AQqH88M8ptq1MH77pvEMm878XpXPx8.jpg"
            ],
            "id_card_front": "images/5/2020/08/AQqH88M8ptq1MH77pvEMm878XpXPx8.jpg",
            "id_card_side": "images/5/2020/08/XNMmM8mJR70ZAD6y77DzhNRLmL8Rn6.png",
            "thumb": [
                "https://fjfff-1301507422.cos.ap-guangzhou.myqcloud.com/images/5/2020/08/AQqH88M8ptq1MH77pvEMm878XpXPx8.jpg"
            ],
            "remark": "asdasd",
            "created_at": "2020-11-20 17:56:24",
            "updated_at": "2020-11-20 17:56:24",
            "deleted_at": null,
            "status": 0,
            "full_address": "山东省 淄博市 临淄区 闻韶街道 安达市大大所多"
        }
    }
}

POST正确时返回:

{
    "result": 1,
    "msg": "成功"
}

错误时返回:

{
	result: 0,
	msg: "参数错误",
	data: [ ]
}
{
    "result": 0,
    "msg": "未找到信息",
    "data": []
}