Get user group information
Get basic information about the group of logged-in users (mainly ID and name), and if it is UI, can be used to build tree node information
Request parameter
None
Response Data (type:array)
field | type | desc |
---|---|---|
orgGuid | integer | Group ID |
orgName | string | Group name |
sortID | integer | sort sequence number |
parentGuid | integer | Parent node ID |
Example
Request example
url
http://localhost:8080/basic_api/v1/org/get_user_org&_t=1698998015041
http://localhost:8080/basic_api/v1/org/get_user_org&_t=1698998015041
Response example
json
{
"hdr": {
"code": 200,
"message": "success"
},
"data": [{
"orgGuid":1,
"orgName":"test",
"sortID":1,
"parentGuid":0
}]
}
{
"hdr": {
"code": 200,
"message": "success"
},
"data": [{
"orgGuid":1,
"orgName":"test",
"sortID":1,
"parentGuid":0
}]
}