文档
测试

小程序--编辑

POST
/organization/updateByApp

请求参数

参数名
类型
描述
必填
id
int
ID
必填
type
int
机构类型,1:总部,2:校区,3:分公司,4:部门
必填
name
string
部门名称
必填
parentId
int
上级部门ID,type=1时,parentId被强制设置为1
可选
province
string
可选
city
string
可选
district
string
可选
address
string
详细地址
可选
userIds
[1,2,3] 用户ID列表
必填