1. 主页
  2. ferry 教程文档
  3. 工单系统
  4. 远端数据方法

远端数据方法

获取用户列表

方法名称:userList

远端数据方法

更多字段

{
	"userId":1,
	"nickName":"lanyulei",
	"phone":"13818888888",
	"roleId":1,
	"salt":"",
	"avatar":"",
	"sex":"0",
	"email":"1@qq.com",
	"deptId":1,
	"postId":1,
	"createBy":"1",
	"updateBy":"1",
	"remark":"",
	"status":"0",
	"params":"",
	"create_time":"0001-01-01T00:00:00Z",
	"update_time":"0001-01-01T00:00:00Z",
	"username":"admin",
	"deptName":"磊哥科技"
}

获取部门信息

推荐使用级联选择器

方法名称:deptTreeList

远端数据方法
{
    "deptId":1,
    "parentId":0,
    "deptPath":"/0/1",
    "deptName":"磊哥科技",
    "sort":0,
    "leader":0,
    "phone":"",
    "email":"lanyulei@www.fdevops.com",
    "status":"0",
    "createBy":"1",
    "updateBy":"1",
    "params":"",
    "children":[
        {
            "deptId":8,
            "parentId":1,
            "deptPath":"/0/1/8",
            "deptName":"运维部",
            "sort":0,
            "leader":0,
            "phone":"",
            "email":"",
            "status":"0",
            "createBy":"",
            "updateBy":"",
            "params":"",
            "children":[

            ],
            "create_time":"2021-02-24T21:30:59+08:00",
            "update_time":"2021-02-24T21:30:59+08:00"
        }
    ],
    "create_time":"2021-02-24T21:30:59+08:00",
    "update_time":"2021-02-24T21:30:59+08:00"
}

我们要如何帮助您?

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

评论列表(5条)