文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
获取管辖网点列表
更新时间:2018-04-13 11:17:43   更新人员:叶洋   文档状态:完成 #87    测试接口
摘要
获取管辖网点列表
  1. 接口基本信息
    接口名称:获取网点列表
    请求方法:GET
    接口地址:netpoint
    登录验证:是
  2. 请求参数
    参数名 参数 数据类型 是否必须 示例值 说明
    page 分页 int
    row 每页数量 int
    com_id 所属机构id string
  3. 响应数据参数
    参数名 参数 数据类型 示例值 说明
    net_id 网点id string
    code 网点编码 string
    com_id 所属机构id string
    join_type 加盟类型 string 1是自营 2是加盟
    status 状态 string 1为启用 0为禁用
    unloading 卸货点 string 是否为卸货点,1是,0否
    create_time 创建时间 string
    create_by{} 创建人信息 object
    ├ uid ├ 创建人uid string
    ├ code ├ 创建人编码 string
    ├ username ├ 创建人用户名 string
    ├ nickname ├ 创建人昵称 string
    └ realname └ 创建人真实姓名 string
    update_time 更新时间 string
    update_by{} 更新人信息 object
    ├ uid ├ 更新人uid string
    ├ code ├ 更新人代码 string
    ├ username ├ 更新人用户名 string
    ├ nickname ├ 更新人昵称 string
    └ realname └ 更新人真实姓名 string
    runin_time 加入时间 string
    runout_time 到期时间 string
    country_id 所属国id string
    province_id 所属省id int
    city_id 所属城市id string
    district_id 地区id int
    street_id 街道id int
    lng 经度 float
    lat 纬度 float
    joining_fee 加盟费 float
    name 网点名称 string
    initials 名称首字母 string
    english_name 英文名 string
    address 地址 string
    contacts 联系人 string
    mobile 手机号 string
    tel 座机电话 string
    fax 传真 string
    email 邮箱 string
    cover 封面图 string 该值为图片id
    picture_list 图片列表 string
    img_business_license 营业执照 string
    img_transport_license 运输许可证 string
    img_corporation_idcard 法人身份证 string
    description 描述 string
    remark 备注 string
    cominfo{} 所属机构信息 object
    ├ com_id ├ 所属机构id string
    ├ code ├ 所属机构编码 string
    ├ name ├ 所属机构名称 string
    ├ address ├ 所属机构地址 string
    ├ contacts ├ 所属机构联系人 string
    └ mobile └ 所属机构联系手机 string
  4. 请求示例
    请求例子:
     
    apirq('netpoint', {
        data: {
            "page": 1
        }
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1523588625",
        "data": {
            "page": 1,
            "row": 15,
            "count": 2,
            "total_count": 2,
            "total_page": 1,
            "lists": [
                {
                    "net_id": "155a4f2767ea880e",
                    "code": "N18291",
                    "com_id": "8cfdaaa5d4db26de",
                    "join_type": 1,
                    "status": 1,
                    "unloading": 1,
                    "create_time": "2017-12-15 11:28:23",
                    "create_by": {
                        "uid": "0000000000000101",
                        "code": "U4219695",
                        "username": "admin@cw",
                        "nickname": "系统内建财务员",
                        "realname": "系统内建财务员"
                    },
                    "update_time": "2018-03-20 13:34:51",
                    "update_by": {
                        "uid": "0000000000000001",
                        "code": "U1000000",
                        "username": "administrator",
                        "nickname": "超级管理员",
                        "realname": "超级管理员"
                    },
                    "delete_time": null,
                    "runin_time": "-",
                    "runout_time": "-",
                    "country_id": 1,
                    "province_id": 2498,
                    "city_id": 2611,
                    "district_id": 2613,
                    "street_id": 0,
                    "lng": "30.066320",
                    "lat": "103.822906",
                    "joining_fee": "0.00",
                    "name": "眉山",
                    "initials": "ms",
                    "english_name": "meishan",
                    "address": "眉山市眉山东站",
                    "contacts": "眉山负责人",
                    "mobile": "15056026737",
                    "tel": "",
                    "fax": "",
                    "email": "",
                    "cover": "",
                    "picture_list": "",
                    "img_business_license": "",
                    "img_transport_license": "",
                    "img_corporation_idcard": "",
                    "description": "",
                    "remark": "",
                    "cominfo": {
                        "com_id": "8cfdaaa5d4db26de",
                        "code": "C65013",
                        "name": "四川仁和路达物流有限公司",
                        "address": "成都二路",
                        "contacts": "邓小林",
                        "mobile": "15902846112"
                    }
                },
                {
                    "net_id": "1000000000000000",
                    "code": "N00001",
                    "com_id": "1000000000000000",
                    "join_type": 1,
                    "status": 1,
                    "unloading": 1,
                    "create_time": "2017-12-11 14:58:16",
                    "create_by": {
                        "uid": "0000000000000101",
                        "code": "U4219695",
                        "username": "admin@cw",
                        "nickname": "系统内建财务员",
                        "realname": "系统内建财务员"
                    },
                    "update_time": "2018-03-28 11:02:23",
                    "update_by": {
                        "uid": "0000000000000101",
                        "code": "U4219695",
                        "username": "admin@cw",
                        "nickname": "系统内建财务员",
                        "realname": "系统内建财务员"
                    },
                    "delete_time": null,
                    "runin_time": "-",
                    "runout_time": "-",
                    "country_id": 1,
                    "province_id": 4,
                    "city_id": 44,
                    "district_id": 444,
                    "street_id": 0,
                    "lng": "104.056283",
                    "lat": "30.538562",
                    "joining_fee": "0.00",
                    "name": "内建网点",
                    "initials": "njwd",
                    "english_name": "innerbuild netpoint",
                    "address": "成都二路",
                    "contacts": "邓小林",
                    "mobile": "15902846112",
                    "tel": "",
                    "fax": "",
                    "email": "",
                    "cover": "",
                    "picture_list": "",
                    "img_business_license": "",
                    "img_transport_license": "",
                    "img_corporation_idcard": "",
                    "description": "",
                    "remark": "",
                    "cominfo": {
                        "com_id": "1000000000000000",
                        "code": "C00001",
                        "name": "内建机构",
                        "address": "成都一路",
                        "contacts": "邓小林",
                        "mobile": "15902846112"
                    }
                }
            ]
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员