From e1cf044ffcb4aed6d3fcb867be2d83d9a01ee629 Mon Sep 17 00:00:00 2001 From: jixudong Date: Fri, 15 Dec 2023 10:33:53 +0800 Subject: [PATCH] Replace 管理界面-审核作品.md --- gameditor/前端接口/管理界面-审核作品.md | 337 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 1 file changed, 169 insertions(+), 168 deletions(-) diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\256\241\346\240\270\344\275\234\345\223\201.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\256\241\346\240\270\344\275\234\345\223\201.md" index c0cecac..acc03ca 100644 --- "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\256\241\346\240\270\344\275\234\345\223\201.md" +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\347\256\241\347\220\206\347\225\214\351\235\242-\345\256\241\346\240\270\344\275\234\345\223\201.md" @@ -14,86 +14,86 @@ #### 请求path字段说明 -| key | type | required | description | -| ---- | ---- | -------- | ----------- | -| id | | yes | 主键ID | +| key | type | required | description | +| ---- | ------ | -------- | ----------- | +| id | number | yes | 主键ID | #### 请求param字段说明 -| key | type | required | description | -| ----------- | ---- | -------- | ----------- | -| applyStatus | | yes | 审核的状态 | +| key | type | required | description | +| ----------- | ------ | -------- | ----------- | +| 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 | 项目 | +| key | type | required | description | +| --------------- | ------ | -------- | -------------------------------- | +| 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 | | 虚拟作品 | +| key | type | description | +| ---- | ------ | ----------- | +| 1 | number | 作品故事 | +| 2 | number | 功能性BOT | +| 3 | number | 附属作品 | +| 4 | number | 第三方接入 | +| 5 | number | 虚拟作品 | free值说明 -| key | type | description | -| ---- | ---- | ----------- | -| 1 | | 免费 | -| 0 | | 付费 | +| key | type | description | +| ---- | ------ | ----------- | +| 1 | number | 免费 | +| 0 | number | 付费 | applyStatus值说明 -| key | type | description | -| ---- | ---- | ------------ | -| 1 | | 表示审核通过 | -| 0 | | 表示未审核 | +| key | type | description | +| ---- | ------ | ------------ | +| 1 | number | 表示审核通过 | +| 0 | number | 表示未审核 | covers值说明 -| key | type | description | -| --------- | ---- | ----------- | -| scale | | 尺寸 | -| listUrl | | 列表封面 | -| detailUrl | | 详情封面 | +| key | type | description | +| --------- | ------ | ----------- | +| scale | string | 尺寸 | +| listUrl | string | 列表封面 | +| detailUrl | string | 详情封面 | group值说明 -| key | type | description | -| -------- | ---- | ------------ | -| id | | 主键id | -| masterId | | 管理员用户id | -| name | | 作品名 | -| multiple | | 多用户模式 | +| key | type | description | +| -------- | ------- | ------------ | +| id | number | 主键id | +| masterId | number | 管理员用户id | +| name | string | 作品名 | +| multiple | boolean | 多用户模式 | #### 请求示例 @@ -134,11 +134,11 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/project/8/apply?applyStatus= #### 请求param字段说明 -| key | type | required | description | -| -------- | ---- | -------- | ------------ | -| workName | | no | 作品名 | -| pageSize | | yes | 每一页数据量 | -| pageNum | | yes | 页码 | +| key | type | required | description | +| -------- | ------ | -------- | ------------ | +| 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 @@ -235,17 +235,17 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/work/search?workName=&pa #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | -------------- | -| type | | no | 服务器类型枚举 | +| key | type | required | description | +| ---- | ------ | -------- | -------------- | +| type | string | no | 服务器类型枚举 | type值说明 -| key | type | description | -| ----- | ---- | ----------- | -| text | | 作品 | -| img | | 图片 | -| audio | | 音频 | +| key | type | description | +| ----- | ------ | ----------- | +| text | string | 作品 | +| img | string | 图片 | +| audio | string | 音频 | #### 请求body字段说明 @@ -349,86 +349,86 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/admin/deploy/v2/servers?type=' #### 请求path字段说明 -| key | type | required | description | -| ---------- | ---- | -------- | -------------- | -| botAccount | | yes | 在引擎中的账号 | +| key | type | required | description | +| ---------- | ------ | -------- | -------------- | +| botAccount | string | yes | 在引擎中的账号 | #### 请求param字段说明 -| key | type | required | description | -| ---- | ---- | -------- | ------------------------------ | -| type | | no | 服务器类型枚举:text,img,audio; | +| key | type | required | description | +| ---- | ------ | -------- | ------------------------------ | +| 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 | 作品 | +| key | type | required | description | +| --------------- | ------ | -------- | -------------------------------- | +| 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 | | 虚拟作品 | +| key | type | description | +| ---- | ------ | ----------- | +| 1 | number | 作品故事 | +| 2 | number | 功能性BOT | +| 3 | number | 附属作品 | +| 4 | number | 第三方接入 | +| 5 | number | 虚拟作品 | free值说明 -| key | type | description | -| ---- | ---- | ----------- | -| 1 | | 免费 | -| 0 | | 付费 | +| key | type | description | +| ---- | ------ | ----------- | +| 1 | number | 免费 | +| 0 | number | 付费 | applyStatus值说明 -| key | type | description | -| ---- | ---- | ------------ | -| 1 | | 表示审核通过 | -| 0 | | 表示未审核 | +| key | type | description | +| ---- | ------ | ------------ | +| 1 | number | 表示审核通过 | +| 0 | number | 表示未审核 | covers值说明 -| key | type | description | -| --------- | ---- | ----------- | -| scale | | 尺寸 | -| listUrl | | 列表封面 | -| detailUrl | | 详情封面 | +| key | type | description | +| --------- | ------ | ----------- | +| scale | string | 尺寸 | +| listUrl | string | 列表封面 | +| detailUrl | string | 详情封面 | group值说明 -| key | type | description | -| -------- | ---- | ------------ | -| id | | 主键id | -| masterId | | 管理员用户id | -| name | | 作品名称 | -| multiple | | 多用户模式 | +| key | type | description | +| -------- | ------- | ------------ | +| id | number | 主键id | +| masterId | number | 管理员用户id | +| name | string | 作品名称 | +| multiple | boolean | 多用户模式 | #### 请求示例 @@ -520,10 +520,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/generate/nt' \ #### 请求param字段说明 -| key | type | required | description | -| -------- | ---- | -------- | ------------ | -| pageSize | | yes | 每一页数据量 | -| pageNum | | yes | 页码 | +| key | type | required | description | +| -------- | ------ | -------- | ------------ | +| 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 @@ -592,20 +592,21 @@ 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 | 部署服务器 | +| key | type | required | description | +| ----------- | ------ | -------- | -------------- | +| type | string | yes | 服务器类型枚举 | +| note | string | no | 注释 | +| version | string | yes | 版本号 | +| serverIds | array | yes | 部署服务器 | +| botAccounts | array | yes | 在引擎中的账号 | type值说明 -| key | type | description | -| ----- | ---- | ----------- | -| text | | 作品 | -| img | | 图片 | -| audio | | 音频 | +| key | type | description | +| ----- | ------ | ----------- | +| text | string | 作品 | +| img | string | 图片 | +| audio | string | 音频 | #### 请求示例 @@ -650,12 +651,12 @@ 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 | 部署服务器 | +| key | type | required | description | +| ----------- | ------ | -------- | -------------- | +| 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 @@ -695,9 +696,9 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/user/admin/deploy/bot/nt' \ #### 请求param字段说明 -| key | type | required | description | -| -------- | ---- | -------- | ----------- | -| workName | | yes | 作品名称 | +| key | type | required | description | +| -------- | ------ | -------- | ----------- | +| workName | string | yes | 作品名称 | #### 请求body字段说明 @@ -740,19 +741,19 @@ 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 | 审核的状态,基本没什么用 | +| key | type | required | description | +| ----------- | ------- | -------- | ------------------------ | +| channelId | number | no | 渠道id | +| free | boolean | no | 是否免费 | +| audioType | number | no | 弃用字段 | +| applyStatus | number | yes | 审核的状态,基本没什么用 | applyStatus值说明 -| key | type | description | -| ---- | ---- | ------------ | -| 0 | | 表示未审核 | -| 1 | | 表示审核通过 | +| key | type | description | +| ---- | ------ | ------------ | +| 0 | number | 表示未审核 | +| 1 | number | 表示审核通过 | #### 请求body字段说明 -- libgit2 0.27.1