属性分页查询 websocket测试 POST http://localhost:5003/admin/attr/list 说明 / 示例 分类id和类型 1基本属性 2销售属性 请求参数 ```json { "current":1, "size":10, "catId":34, "attrType":"2" } ``` ```json { "status": 200, "error": "", "message": "success", "payload": { "records": [ { "attrId": 6, "attrName": "品牌", "icon": null, "valueSelect": null, "attrType": "1", "enable": true, "catId": 34, "verify": true }, { "attrId": 7, "attrName": "ncf", "icon": null, "valueSelect": null, "attrType": "1", "enable": true, "catId": 34, "verify": true }, { "attrId": 4, "attrName": "颜色", "icon": null, "valueSelect": null, "attrType": "2", "enable": true, "catId": 34, "verify": true }, { "attrId": 5, "attrName": "内存", "icon": null, "valueSelect": null, "attrType": "2", "enable": true, "catId": 34, "verify": true }, { "attrId": 8, "attrName": "版本", "icon": null, "valueSelect": null, "attrType": "2", "enable": true, "catId": 34, "verify": true } ], "total": 5, "size": 10, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 1 } } ```
分类id和类型 1基本属性 2销售属性 请求参数 ```json { "current":1, "size":10, "catId":34, "attrType":"2" } ``` ```json { "status": 200, "error": "", "message": "success", "payload": { "records": [ { "attrId": 6, "attrName": "品牌", "icon": null, "valueSelect": null, "attrType": "1", "enable": true, "catId": 34, "verify": true }, { "attrId": 7, "attrName": "ncf", "icon": null, "valueSelect": null, "attrType": "1", "enable": true, "catId": 34, "verify": true }, { "attrId": 4, "attrName": "颜色", "icon": null, "valueSelect": null, "attrType": "2", "enable": true, "catId": 34, "verify": true }, { "attrId": 5, "attrName": "内存", "icon": null, "valueSelect": null, "attrType": "2", "enable": true, "catId": 34, "verify": true }, { "attrId": 8, "attrName": "版本", "icon": null, "valueSelect": null, "attrType": "2", "enable": true, "catId": 34, "verify": true } ], "total": 5, "size": 10, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 1 } } ```