| 参数名 | 必选 | 类型 | 说明 |
|---|
| data.cate_id | 是 | int | 分类id |
| data.title | 是 | string | 分类名称 |
| data.orderby | 是 | string | 排序 |
| data.show_type | 否 | int | 展示方式 0 全天展示 1 设置时间段 |
| data.time | 否 | string | 如果show_type=1则必填。展示时间段 |
| data.time.stime | 否 | string | 开始时间 |
| data.time.ltime | 否 | string | 结束时间 |
Request
Body Params application/x-www-form-urlencoded
Request Code Samples
curl --location '/api.php?API=biz%2Fproduct%2Fcate%2Fedit' \
--header 'Authorization: {{bearerToken}}' \
--data-urlencode 'data={"cate_id":"85571","title":"新分类1","orderby":"2","show_type":"1","time":[{"stime":"6:00","ltime":"18:00"},{"stime":"18:00","ltime":"19:00"}]}' \
--data-urlencode 'CLIENT_API=BIZ' \
--data-urlencode 'openid={{openid}}'
Responses
This response does not have a body.
Modified at 2026-04-20 08:24:03