- 后台
- 营销应用
- 用户 管理
- AI问答
- 创作中心
- 技能
- 装修
- 系统设置
- 订单管理
- 渠道设置
- 意见反馈
- AI对话记录
- 财务管理
- AI绘画
- 绘画广场
- 艺术二维码
- 检测新版本GET
- 前台
- 任务
- 装修
- 充值
- 我的
- 会员
- AI对话
- 登录注册
- 分销
- 提现
- 绘画
- 卡密
- 支付
- 绘画广场
- 技能
- 创作
- 艺术二维码
- 上传文件POST
- PC配置GET
- 移动端配置GET
- 上传文件(文档格式)POST
创作分类
开发中
GET
/api/creation/categoryLists
请求参数
Header 参数
token
string
可选
默认值:
59e092db6ec6acbe31669c6b8620ee89
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/creation/categoryLists' \
--header 'token: 59e092db6ec6acbe31669c6b8620ee89'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
array [object {4}]
必需
id
integer
必需
image
string
分类图片
name
string
分类名称
model_count
integer
创作模型数量
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": [
{
"id": 0,
"image": "http://www.php-kl.localhost/resource/image/api/default/creation_category_all.png",
"name": "全部",
"model_count": 27
},
{
"id": -1,
"image": "http://www.php-kl.localhost/resource/image/api/default/creation_category_collect.png",
"name": "我的收藏",
"model_count": 0
},
{
"id": 1,
"image": "http://www.php-kl.localhost/resource/image/creation/20230905163155a4a9d9896.png",
"name": "AI工作",
"model_count": 4
},
{
"id": 2,
"image": "http://www.php-kl.localhost/resource/image/creation/20230905163155cdcc21644.png",
"name": "AI写作",
"model_count": 7
},
{
"id": 3,
"image": "http://www.php-kl.localhost/resource/image/creation/20230905163155f0f806820.png",
"name": "AI营销",
"model_count": 7
},
{
"id": 4,
"image": "http://www.php-kl.localhost/resource/image/creation/20230905163155466ed2306.png",
"name": "AI生活",
"model_count": 6
},
{
"id": 5,
"image": "http://www.php-kl.localhost/resource/image/creation/202309051631555b3979708.png",
"name": "趣味助手",
"model_count": 3
}
]
}
修改于 2023-09-25 06:46:15