Commit e1cf044f by jixudong

Replace 管理界面-审核作品.md

parent 09bd4917
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**测试环境URL**:http://tx-gz14.heyqiwu.cn
......@@ -15,85 +15,85 @@
#### 请求path字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| id | | yes | 主键ID |
| ---- | ------ | -------- | ----------- |
| id | number | yes | 主键ID |
#### 请求param字段说明
| key | type | required | description |
| ----------- | ---- | -------- | ----------- |
| applyStatus | | yes | 审核的状态 |
| ----------- | ------ | -------- | ----------- |
| applyStatus | number | yes | 审核的状态 |
#### 请求body字段说明
| key | type | required | description |
| --------------- | ---- | -------- | -------------------------------- |
| id | | yes | 主键ID |
| name | | yes | 作品名 |
| seriesName | | no | 系列名称 |
| ttsName | | no | 语音合成时候的名称 |
| intro | | yes | 作品介绍 |
| botId | | yes | 在引擎中的ID |
| botAccount | | yes | 在引擎中的账号 |
| applyStatus | | yes | 审核的状态 |
| applySuggestion | | no | 审核建议 |
| score | | yes | 评分 |
| nicknames | | yes | 作品别名 可以是多个, 用逗号隔开 |
| free | | yes | 是否免费 |
| difficulty | | yes | 困难程度 |
| suitCrowds | | yes | 适应人群 |
| startAge | | yes | 开始年龄 |
| stopAge | | yes | 结束年龄 |
| username | | yes | 作者的用户名 |
| userNickname | | yes | 作者的笔名 |
| preface | | yes | 创作者说 |
| workType | | yes | 作品类型 |
| labels | | yes | 作品的标签,多个用逗号隔开 |
| audioType | | no | 弃用字段 |
| covers | | yes | 新版封面 |
| includedWorks | | no | 包含作品,多个用逗号隔开 |
| group | | yes | 项目 |
| --------------- | ------ | -------- | -------------------------------- |
| id | number | yes | 主键ID |
| name | string | yes | 作品名 |
| seriesName | string | no | 系列名称 |
| ttsName | string | no | 语音合成时候的名称 |
| intro | string | yes | 作品介绍 |
| botId | number | yes | 在引擎中的ID |
| botAccount | string | yes | 在引擎中的账号 |
| applyStatus | number | yes | 审核的状态 |
| applySuggestion | string | no | 审核建议 |
| score | number | yes | 评分 |
| nicknames | array | yes | 作品别名 可以是多个, 用逗号隔开 |
| free | number | yes | 是否免费 |
| difficulty | string | yes | 困难程度 |
| suitCrowds | string | yes | 适应人群 |
| startAge | number | yes | 开始年龄 |
| stopAge | number | yes | 结束年龄 |
| username | string | yes | 作者的用户名 |
| userNickname | string | yes | 作者的笔名 |
| preface | string | yes | 创作者说 |
| workType | number | yes | 作品类型 |
| labels | array | yes | 作品的标签,多个用逗号隔开 |
| audioType | number | no | 弃用字段 |
| covers | array | yes | 新版封面 |
| includedWorks | array | no | 包含作品,多个用逗号隔开 |
| group | object | yes | 项目 |
workType值说明
| key | type | description |
| ---- | ---- | ----------- |
| 1 | | 作品故事 |
| 2 | | 功能性BOT |
| 3 | | 附属作品 |
| 4 | | 第三方接入 |
| 5 | | 虚拟作品 |
| ---- | ------ | ----------- |
| 1 | number | 作品故事 |
| 2 | number | 功能性BOT |
| 3 | number | 附属作品 |
| 4 | number | 第三方接入 |
| 5 | number | 虚拟作品 |
free值说明
| key | type | description |
| ---- | ---- | ----------- |
| 1 | | 免费 |
| 0 | | 付费 |
| ---- | ------ | ----------- |
| 1 | number | 免费 |
| 0 | number | 付费 |
applyStatus值说明
| key | type | description |
| ---- | ---- | ------------ |
| 1 | | 表示审核通过 |
| 0 | | 表示未审核 |
| ---- | ------ | ------------ |
| 1 | number | 表示审核通过 |
| 0 | number | 表示未审核 |
covers值说明
| key | type | description |
| --------- | ---- | ----------- |
| scale | | 尺寸 |
| listUrl | | 列表封面 |
| detailUrl | | 详情封面 |
| --------- | ------ | ----------- |
| scale | string | 尺寸 |
| listUrl | string | 列表封面 |
| detailUrl | string | 详情封面 |
group值说明
| key | type | description |
| -------- | ---- | ------------ |
| id | | 主键id |
| masterId | | 管理员用户id |
| name | | 作品名 |
| multiple | | 多用户模式 |
| -------- | ------- | ------------ |
| id | number | 主键id |
| masterId | number | 管理员用户id |
| name | string | 作品名 |
| multiple | boolean | 多用户模式 |
#### 请求示例
......@@ -135,10 +135,10 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/project/8/apply?applyStatus=
#### 请求param字段说明
| key | type | required | description |
| -------- | ---- | -------- | ------------ |
| workName | | no | 作品名 |
| pageSize | | yes | 每一页数据量 |
| pageNum | | yes | 页码 |
| -------- | ------ | -------- | ------------ |
| workName | string | no | 作品名 |
| pageSize | number | yes | 每一页数据量 |
| pageNum | number | yes | 页码 |
#### 请求body字段说明
......@@ -225,7 +225,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/work/search?workName=&pa
}
```
### 管理员-获取服务器的配置
### 管理员-获取部署NT文件服务器
**METHOD**: GET
......@@ -236,16 +236,16 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/work/search?workName=&pa
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | -------------- |
| type | | no | 服务器类型枚举 |
| ---- | ------ | -------- | -------------- |
| type | string | no | 服务器类型枚举 |
type值说明
| key | type | description |
| ----- | ---- | ----------- |
| text | | 作品 |
| img | | 图片 |
| audio | | 音频 |
| ----- | ------ | ----------- |
| text | string | 作品 |
| img | string | 图片 |
| audio | string | 音频 |
#### 请求body字段说明
......@@ -350,85 +350,85 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/deploy/v2/servers?type='
#### 请求path字段说明
| key | type | required | description |
| ---------- | ---- | -------- | -------------- |
| botAccount | | yes | 在引擎中的账号 |
| ---------- | ------ | -------- | -------------- |
| botAccount | string | yes | 在引擎中的账号 |
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ------------------------------ |
| type | | no | 服务器类型枚举:text,img,audio; |
| ---- | ------ | -------- | ------------------------------ |
| type | string | no | 服务器类型枚举:text,img,audio; |
#### 请求body字段说明
| key | type | required | description |
| --------------- | ---- | -------- | -------------------------------- |
| id | | yes | 主键ID |
| name | | yes | 作品名 |
| seriesName | | no | 系列名称 |
| ttsName | | no | 语音合成时候的名称 |
| intro | | yes | 作品介绍 |
| botId | | yes | 在引擎中的ID |
| botAccount | | yes | 在引擎中的账号 |
| applyStatus | | yes | 审核的状态 |
| applySuggestion | | no | 审核建议 |
| score | | yes | 评分 |
| nicknames | | yes | 作品别名 可以是多个, 用逗号隔开 |
| free | | yes | 是否免费 |
| difficulty | | yes | 困难程度 |
| suitCrowds | | yes | 适应人群 |
| startAge | | yes | 开始年龄 |
| stopAge | | yes | 结束年龄 |
| username | | yes | 作者的用户名 |
| userNickname | | yes | 作者的笔名 |
| preface | | yes | 创作者说 |
| workType | | yes | 作品类型 |
| labels | | yes | 作品的标签,多个用逗号隔开 |
| audioType | | no | 弃用字段 |
| covers | | yes | 新版封面 |
| includedWorks | | no | 包含作品,多个用逗号隔开 |
| group | | yes | 作品 |
| --------------- | ------ | -------- | -------------------------------- |
| id | number | yes | 主键ID |
| name | string | yes | 作品名 |
| seriesName | string | no | 系列名称 |
| ttsName | string | no | 语音合成时候的名称 |
| intro | string | yes | 作品介绍 |
| botId | number | yes | 在引擎中的ID |
| botAccount | string | yes | 在引擎中的账号 |
| applyStatus | number | yes | 审核的状态 |
| applySuggestion | string | no | 审核建议 |
| score | number | yes | 评分 |
| nicknames | array | yes | 作品别名 可以是多个, 用逗号隔开 |
| free | number | yes | 是否免费 |
| difficulty | string | yes | 困难程度 |
| suitCrowds | string | yes | 适应人群 |
| startAge | number | yes | 开始年龄 |
| stopAge | number | yes | 结束年龄 |
| username | string | yes | 作者的用户名 |
| userNickname | string | yes | 作者的笔名 |
| preface | string | yes | 创作者说 |
| workType | number | yes | 作品类型 |
| labels | array | yes | 作品的标签,多个用逗号隔开 |
| audioType | number | no | 弃用字段 |
| covers | array | yes | 新版封面 |
| includedWorks | array | no | 包含作品,多个用逗号隔开 |
| group | object | yes | 作品 |
workType值说明
| key | type | description |
| ---- | ---- | ----------- |
| 1 | | 作品故事 |
| 2 | | 功能性BOT |
| 3 | | 附属作品 |
| 4 | | 第三方接入 |
| 5 | | 虚拟作品 |
| ---- | ------ | ----------- |
| 1 | number | 作品故事 |
| 2 | number | 功能性BOT |
| 3 | number | 附属作品 |
| 4 | number | 第三方接入 |
| 5 | number | 虚拟作品 |
free值说明
| key | type | description |
| ---- | ---- | ----------- |
| 1 | | 免费 |
| 0 | | 付费 |
| ---- | ------ | ----------- |
| 1 | number | 免费 |
| 0 | number | 付费 |
applyStatus值说明
| key | type | description |
| ---- | ---- | ------------ |
| 1 | | 表示审核通过 |
| 0 | | 表示未审核 |
| ---- | ------ | ------------ |
| 1 | number | 表示审核通过 |
| 0 | number | 表示未审核 |
covers值说明
| key | type | description |
| --------- | ---- | ----------- |
| scale | | 尺寸 |
| listUrl | | 列表封面 |
| detailUrl | | 详情封面 |
| --------- | ------ | ----------- |
| scale | string | 尺寸 |
| listUrl | string | 列表封面 |
| detailUrl | string | 详情封面 |
group值说明
| key | type | description |
| -------- | ---- | ------------ |
| id | | 主键id |
| masterId | | 管理员用户id |
| name | | 作品名称 |
| multiple | | 多用户模式 |
| -------- | ------- | ------------ |
| id | number | 主键id |
| masterId | number | 管理员用户id |
| name | string | 作品名称 |
| multiple | boolean | 多用户模式 |
#### 请求示例
......@@ -521,9 +521,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/generate/nt' \
#### 请求param字段说明
| key | type | required | description |
| -------- | ---- | -------- | ------------ |
| pageSize | | yes | 每一页数据量 |
| pageNum | | yes | 页码 |
| -------- | ------ | -------- | ------------ |
| pageSize | number | yes | 每一页数据量 |
| pageNum | number | yes | 页码 |
#### 请求body字段说明
......@@ -576,7 +576,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/deploy/v2/record/search?
}
```
### 管理员-部署机器人
### 管理员-部署
**METHOD**: POST
......@@ -593,19 +593,20 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/deploy/v2/record/search?
#### 请求body字段说明
| key | type | required | description |
| --------- | ---- | -------- | -------------- |
| type | | yes | 服务器类型枚举 |
| note | | no | 注释 |
| version | | yes | 版本号 |
| serverIds | | yes | 部署服务器 |
| ----------- | ------ | -------- | -------------- |
| type | string | yes | 服务器类型枚举 |
| note | string | no | 注释 |
| version | string | yes | 版本号 |
| serverIds | array | yes | 部署服务器 |
| botAccounts | array | yes | 在引擎中的账号 |
type值说明
| key | type | description |
| ----- | ---- | ----------- |
| text | | 作品 |
| img | | 图片 |
| audio | | 音频 |
| ----- | ------ | ----------- |
| text | string | 作品 |
| img | string | 图片 |
| audio | string | 音频 |
#### 请求示例
......@@ -651,11 +652,11 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/deploy/v2/bot' \
#### 请求body字段说明
| key | type | required | description |
| ----------- | ---- | -------- | -------------- |
| botAccounts | | yes | 在引擎中的账号 |
| note | | no | 注释 |
| version | | yes | 版本号 |
| serverIds | | yes | 部署服务器 |
| ----------- | ------ | -------- | -------------- |
| botAccounts | array | yes | 在引擎中的账号 |
| note | string | no | 注释 |
| version | string | yes | 版本号 |
| serverIds | string | yes | 部署服务器 |
#### 请求示例
......@@ -685,7 +686,7 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/user/admin/deploy/bot/nt' \
}
```
### 请求渠道评分
### 获取渠道评分
**METHOD**: GET
......@@ -696,8 +697,8 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/user/admin/deploy/bot/nt' \
#### 请求param字段说明
| key | type | required | description |
| -------- | ---- | -------- | ----------- |
| workName | | yes | 作品名称 |
| -------- | ------ | -------- | ----------- |
| workName | string | yes | 作品名称 |
#### 请求body字段说明
......@@ -741,18 +742,18 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/work/admin/evaluate?workName
#### 请求param字段说明
| key | type | required | description |
| ----------- | ---- | -------- | ------------------------ |
| channelId | | no | 渠道id |
| free | | no | 是否免费 |
| audioType | | no | 弃用字段 |
| applyStatus | | yes | 审核的状态,基本没什么用 |
| ----------- | ------- | -------- | ------------------------ |
| channelId | number | no | 渠道id |
| free | boolean | no | 是否免费 |
| audioType | number | no | 弃用字段 |
| applyStatus | number | yes | 审核的状态,基本没什么用 |
applyStatus值说明
| key | type | description |
| ---- | ---- | ------------ |
| 0 | | 表示未审核 |
| 1 | | 表示审核通过 |
| ---- | ------ | ------------ |
| 0 | number | 表示未审核 |
| 1 | number | 表示审核通过 |
#### 请求body字段说明
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment