文 档 中 心 / Document Center
搜索 管理中心
壹川接口文档V3
获取指定网点成员信息
更新时间:2018-04-16 09:38:53   更新人员:叶洋   文档状态:完成 #133    测试接口
摘要
获取指定网点成员的信息
  1. 接口基本信息
    接口名称:获取指定网点成员信息
    请求方法:GET
    接口地址:user/np/:uid
    登录验证:是
  2. 路由参数
    参数名 参数 数据类型 是否必须 示例值 说明
    uid 用户uid string 传入要获取到用户信息的用户ID
  3. 响应数据参数
    参数名 参数 数据类型 示例值 说明
    uid 用户uid string
    code 用户编码 string
    utype 用户类型 string
    orgid 对应组织id string
    username 用户名 string
    status 用户状态 int
    nickname 用户昵称 string
    head 用户头像 string
    sex 用户性别 string
    email 用户邮箱 string
    mobile 用户手机号 string
    tel 用户电话 string
    invite_code 邀请码 string
    invite_code_from 通过哪个邀请码加入 string
    reg_ip 注册ip string
    reg_time 注册时间 string
    login 登录次数 int
    last_login_ip 最近一次登录ip地址 string
    last_login_time 最近一次登录时间 string
    realname 真实姓名 string
    realname_initials 真实姓名首字母索引 string
    birthday 生日 string
    qq QQ号 string
    ua 登录UA string
    remark 备注 string
    orginfo{} 对应组织信息 object
    ├ net_id ├ 网点id string
    ├ code ├ 组织编码 string
    ├ country_id ├ 所在国 int
    ├ province_id ├ 所在省 int
    ├ city_id ├ 所在城市 int
    ├ district_id ├ 所在地区 int
    ├ street_id ├ 所在街道 int
    ├ lng ├ 经度 float
    ├ lat ├ 纬度 float
    ├ name ├ 组织名称 string
    ├ english_name ├ 英文名称 string
    ├ address ├ 地址 string
    ├ contacts ├ 联系人 string
    ├ mobile ├ 联系手机 string
    ├ tel ├ 联系电话 string
    ├ description ├ 组织描述 string
    └ otype_name └ 组织类型标记 string
  4. 请求示例
    请求例子:
     
    apirq('user/np/:uid', {
        data: {
            "uid": "a261e4e10fef3cd4"
        },
        urlparams: [
            "uid"
        ]
    }) 
    
    返回数据结果:
     
    {
        "code": 0,
        "msg": "ok",
        "time": "1523849905",
        "data": {
            "uid": "a261e4e10fef3cd4",
            "code": "U7584381",
            "utype": 4,
            "orgid": "d466b9497ccc7924",
            "username": "xiaobo2",
            "status": 1,
            "nickname": "",
            "head": "",
            "sex": 1,
            "email": "aasdf@sd.cm",
            "mobile": "13212345699",
            "tel": "",
            "invite_code": "A6AB2A61",
            "invite_code_from": "",
            "reg_ip": "127.0.0.1",
            "reg_time": "2018-04-16 11:37:14",
            "login": 0,
            "last_login_ip": "0.0.0.0",
            "last_login_time": "1970-01-01 08:00:00",
            "access_token": "",
            "access_token_ios": "",
            "access_token_android": "",
            "access_token_smartpr": "",
            "access_token_wap": "",
            "realname": "纱耿",
            "realname_initials": "sg",
            "birthday": "",
            "qq": "",
            "ua": "",
            "remark": "",
            "delete_time": null,
            "orginfo": {
                "net_id": "d466b9497ccc7924",
                "code": "N89672",
                "com_id": "05d48fa8743570b0",
                "join_type": 1,
                "status": 1,
                "unloading": 1,
                "create_time": "2018-03-27 18:00:28",
                "create_by": {
                    "uid": "0000000000000101",
                    "code": "U4219695",
                    "username": "admin@cw",
                    "nickname": "系统内建财务员",
                    "realname": "系统内建财务员"
                },
                "update_time": "2018-04-13 12:01:16",
                "update_by": {
                    "uid": "0000000000000001",
                    "code": "U1000000",
                    "username": "administrator",
                    "nickname": "超级管理员",
                    "realname": "超级管理员"
                },
                "delete_time": null,
                "runin_time": "-",
                "runout_time": "-",
                "country_id": 1,
                "province_id": 43983,
                "city_id": 44058,
                "district_id": 44189,
                "street_id": 0,
                "lng": "120.181620",
                "lat": "30.229713",
                "joining_fee": "0.00",
                "name": "杭州",
                "initials": "hz",
                "english_name": "Hangzhou",
                "address": "浙江省杭州市上城区紫阳街道江边路",
                "contacts": "李云",
                "mobile": "13422223333",
                "tel": "253242",
                "fax": "123456",
                "email": "",
                "cover": "",
                "picture_list": "",
                "img_business_license": "",
                "img_transport_license": "",
                "img_corporation_idcard": "",
                "description": "asd",
                "remark": "",
                "cominfo": {
                    "com_id": "05d48fa8743570b0",
                    "code": "C57732",
                    "name": "天天向上2",
                    "address": "四川省成都市青羊区西御河街道大树拐街15号五福街56号院",
                    "contacts": "李白",
                    "mobile": "13212345678"
                },
                "otype_name": "网点"
            }
        }
    } 
    
本书创建于 2018-03-30 12:03:13 ?如有疑问,请联系技术人员