控制台-部门-观众列表

优质
小牛编辑
124浏览
2023-12-01

控制台-部门-观众列表

接口URL

{youke-url}/console/Index.php?c=department&a=audiences&timestamp=1607677497&access_key=abc&sign=d24d040ac43a095469809fa401d535ffee607118

请求方式

POST

Content-Type

form-data

请求Query参数

参数示例值是否必填参数描述
cdepartment必填-
aaudiences必填-
timestamp1607677497必填-
access_keyabc必填-
signd24d040ac43a095469809fa401d535ffee607118必填-

请求Body参数

参数示例值是否必填参数描述
id1454560必填部门ID
page-选填页码

成功响应示例

{
    "code": 200,
    "msg": "success",
    "data": {
        "count": 1,
        "page": 1,
        "audiences": [
            {
                "id": 415312,
                "account_id": 297,
                "ding_id": null,
                "ding_user_id": null,
                "ding_union_id": null,
                "outer_id": null,
                "job_number": "007",
                "name": "框架升级",
                "name_py": "KuangJiaShengJi",
                "name_first": "kjsj",
                "position": "法师",
                "avatar": null,
                "mobile": "18722374958",
                "tel": null,
                "work_place": null,
                "remark": null,
                "email": "2173673@163.con",
                "device": null,
                "ip": null,
                "extattr": null,
                "created_at": "2020-11-09 15:15:18",
                "updated_at": "2020-11-09 15:15:18",
                "deleted_at": "-0001-11-30 00:00:00",
                "departments": [
                    {
                        "id": 1454560,
                        "account_id": 297,
                        "parent_id": 1251236,
                        "ding_id": 0,
                        "ding_parent_id": 0,
                        "name": "部门11",
                        "name_py": "BuMen11",
                        "name_first": "bm1",
                        "order": null,
                        "created_at": "2020-11-09 15:08:30",
                        "updated_at": "2020-11-10 16:42:01",
                        "deleted_at": "-0001-11-30 00:00:00"
                    }
                ]
            }
        ]
    }
}
参数示例值参数描述
code200响应状态码
msgsuccess提示信息
data-json array
data.count1总条数
data.page1当前页
data.audiences-json array
data.audiences.*.id1251236部门ID
data.audiences.*.account_id297帐户ID
data.audiences.*.ding_id0-
data.audiences.*.ding_user_id0-
data.audiences.*.ding_union_id-ding_union_id
data.audiences.*.outer_id--
data.audiences.*.job_number007工号
data.audiences.*.name杭州雅顾科技有限公司帐户名称
data.audiences.*.name_pyHangZhouYaGuKeJiYouXianGongSi部门拼音
data.audiences.*.name_firsthzygkjyxgs部门名首字母
data.audiences.*.position法师职位
data.audiences.*.avatar-头像
data.audiences.*.mobile18722374958手机号
data.audiences.*.tel-tel
data.audiences.*.work_place--
data.audiences.*.remark--
data.audiences.*.email2173673@163.con邮箱
data.audiences.*.device--
data.audiences.*.ip--
data.audiences.*.extattr--
data.audiences.*.created_at2020-11-09 15:15:18创建时间
data.audiences.*.updated_at2020-11-09 15:15:18更新时间
data.audiences.*.deleted_at-0001-11-30 00:00:00删除时间
data.audiences.*.departments-json array
data.audiences..departments..id1454560部门ID
data.audiences..departments..account_id297帐户ID
data.audiences..departments..parent_id1251236父级部门ID
data.audiences..departments..ding_id0ding_id
data.audiences..departments..ding_parent_id0ding_parent_id
data.audiences..departments..name部门11部门名
data.audiences..departments..name_pyBuMen11部门拼音
data.audiences..departments..name_firstbm1部门名首字母
data.audiences..departments..order-排序值
data.audiences..departments..created_at2020-11-09 15:08:30创建时间
data.audiences..departments..updated_at2020-11-10 16:42:01更新时间
data.audiences..departments..deleted_at-0001-11-30 00:00:00删除时间