```javascript
WXAPI.trainingItems({
categoryId: 1
})
```
+ page gets the page data. If this parameter is not passed, the default value is 1.
+ pageSize How many records are obtained per page? If this parameter is not passed, the default is 50
+ categoryId category ID, return all items if not passed
```json
{
"code": 0,
"msg": "success",
"data": [
{
"id": 1,
"name": "Five-point basic skills training-high pole",
"unit": "piece",
"numDefault": 10
}
]
}
```
+ id project ID
+ name name
+ unit unit
+ numDefault default training duration
+ classHour total class hours