接口描述://请使用@desc 注释
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| name | 字符串 | 必须 | 套餐名称 | ||
| price | 浮点型 | 必须 | 价格 | ||
| duration | 整型 | 必须 | 有效期天数 | ||
| post_count | 整型 | 可选 | 0 | 免费发布次数 | |
| post_expire | 整型 | 可选 | 30 | 信息有效期天数 | |
| refresh_count | 整型 | 可选 | 0 | 刷新次数 | |
| top_days | 整型 | 可选 | 0 | 类别置顶天数 | |
| home_top_days | 整型 | 可选 | 0 | 首页置顶天数 | |
| description | 字符串 | 可选 | 套餐描述 | ||
| sort | 整型 | 可选 | 0 | ||
| status | 整型 | 可选 | 1 |
| 参数名字 | 类型 | 说明 |
|---|
| 错误状态码 | 错误描述信息 |
|---|---|
| 400 | 表示客户端参数错误 |
| 404 | 表示接口服务不存在 |
| 500 | 表示服务端内部错误 |
| 参数 | 是否必须 | 值 |
|---|---|---|
| service | 必须 | |
| name | 必须 | |
| price | 必须 | |
| duration | 必须 | |
| post_count | 可选 | |
| post_expire | 可选 | |
| refresh_count | 可选 | |
| top_days | 可选 | |
| home_top_days | 可选 | |
| description | 可选 | |
| sort | 可选 | |
| status | 可选 |
# 暂无示例,可添加示例文件:./src/view/docs/demos/App.AdminMemberPlan.Create.json
接口,从简单开始!
© 2015-2026 Powered By PhalApi开源接口框架 2.23.0
专业版