直播分类->获取所有分类 websocket测试 POST GetAllClass 请求参数 参数名 类型 描述 必填 Class array 数据列表 必填 Id string 分类id 示例:80361a0991b527cd3beceaa69068a0c2 必填 Name string 分类名称 示例:系统分类 必填 CreateTime string 分类创建时间 示例:1569223236 必填 Pid string 分类父级id 示例:0 必填 Type string 分类类型 示例:System 必填 Status string 分类状态 示例:NOLOCKED 必填 说明 / 示例 请求示例 ``` http://192.168.1.135:8080/liveserver/?Action=GetAllClass&UserId=45&Format=json&PageNum=1&PageSize=10 ``` Json返回示例 ```language { "ResponseId": "59d6f9c0-7598-021b-af0c-313f91499810", "Total": "7", "Class": [ { "Id": "44eedf7bf4d26c287254cccef896da2b", "Name": "系统分类", "CreateTime": "1548668595", "Pid": "0", "Type": "System", "Status": "NOLOCKED" }, { "Id": "9307ab01d412985ca657abc4e8ed1c55", "Name": "|--test", "CreateTime": "1592987970", "Pid": "44eedf7bf4d26c287254cccef896da2b", "Type": "User", "Status": "NOLOCKED" }, { "Id": "f4a553b457e3071985c6e8b91a47caab", "Name": "|--系统02", "CreateTime": "1592987974", "Pid": "44eedf7bf4d26c287254cccef896da2b", "Type": "User", "Status": "NOLOCKED" } ] } ``` XML返回示例 ```language <?xml version="1.0" encoding="UTF-8"?> <GetAllClass> <ResponseId>8301ac89-0996-00fb-8a8f-75958f420801</ResponseId> <classList> <classList> <Id>80361a0991b527cd3beceaa69068a0c2</Id> <Name>系统分类</Name> <CreateTime>1569223236</CreateTime> <Pid>0</Pid> <Type>System</Type> <Status>NOLOCKED</Status> </classList> </classList> <Total>25</Total> </GetAllClass> ````
请求示例 ``` http://192.168.1.135:8080/liveserver/?Action=GetAllClass&UserId=45&Format=json&PageNum=1&PageSize=10 ``` Json返回示例 ```language { "ResponseId": "59d6f9c0-7598-021b-af0c-313f91499810", "Total": "7", "Class": [ { "Id": "44eedf7bf4d26c287254cccef896da2b", "Name": "系统分类", "CreateTime": "1548668595", "Pid": "0", "Type": "System", "Status": "NOLOCKED" }, { "Id": "9307ab01d412985ca657abc4e8ed1c55", "Name": "|--test", "CreateTime": "1592987970", "Pid": "44eedf7bf4d26c287254cccef896da2b", "Type": "User", "Status": "NOLOCKED" }, { "Id": "f4a553b457e3071985c6e8b91a47caab", "Name": "|--系统02", "CreateTime": "1592987974", "Pid": "44eedf7bf4d26c287254cccef896da2b", "Type": "User", "Status": "NOLOCKED" } ] } ``` XML返回示例 ```language <?xml version="1.0" encoding="UTF-8"?> <GetAllClass> <ResponseId>8301ac89-0996-00fb-8a8f-75958f420801</ResponseId> <classList> <classList> <Id>80361a0991b527cd3beceaa69068a0c2</Id> <Name>系统分类</Name> <CreateTime>1569223236</CreateTime> <Pid>0</Pid> <Type>System</Type> <Status>NOLOCKED</Status> </classList> </classList> <Total>25</Total> </GetAllClass> ````