Commit 45ffc140 by jixudong

Delete 剧情导入aigc.md

parent c5eb6f8d
### 1. 导出作品的AIGC参数 ++ /dev/null
### 1. 导出作品的AIGC参数
#### 请求方式
- METHOD: GET
#### URL
- 测试环境URL: `tx-gz18.heyqiwu.cn`
- 生产环境URL: `juben.jiaoyou365.com`
#### 接口路径
- `/api/juben/aigc/exportParam`
#### 请求头部
| key | description |
| ------------- | ------------- |
| Authorization | **鉴权Token** |
#### 请求参数
| 参数名 | 类型 | 示例值 | 是否必填 | 参数描述 |
| ------ | ------- | ------ | -------- | ------------ |
| id | Integer | 2701 | 是 | 作品的项目id |
#### 请求示例
```
bashCopy codecurl --location --request GET 'https://juben.jiaoyou365.com/api/juben/aigc/exportParam?id=2701' \
--header 'Authorization: ***'
```
#### 响应Body
- **成功:**
| 参数名 | 类型 | 示例值 |
| -------- | ------ | ------------------------------------------------------------ |
| filePath | String | http://tx-gz18.heyqiwu.cn/downloads/第3个作品-aigc--1012--2023-11-10--09-57-30.txt |
#### 响应示例
```
jsonCopy code{
"code": 1,
"msg": "成功",
"data": {
"filePath": "http://tx-gz18.heyqiwu.cn/downloads/第3个作品-aigc--1012--2023-11-10--09-57-30.txt"
}
}
```
### 2. 导入作品的AIGC参数
#### 请求方式
- METHOD: POST
#### URL
- `/api/juben/aigc/importParam`
#### 请求头部
| key | description |
| ------------- | ------------- |
| Authorization | **鉴权Token** |
#### 请求参数
| 参数名 | 类型 | 示例值 | 是否必填 | 参数描述 |
| ------ | ------- | ------ | -------- | ------------ |
| id | Integer | 2701 | 是 | 作品的项目id |
#### 请求Form数据
| 参数名 | 类型 | 示例值 | 是否必填 | 参数描述 |
| ------ | -------- | ------------ | -------- | ---------------------------- |
| file | FormData | **文件内容** | 是 | 待上传文件对应的FormData对象 |
#### 请求示例
```
bashCopy codecurl --location --request POST 'https://juben.jiaoyou365.com/api/juben/aigc/importParam?id=2701' \
--header 'Authorization: ***'
```
#### 响应示例
- **成功:**
```
jsonCopy code{
"code": 1,
"msg": "成功",
"data": null
}
```
\ No newline at end of file
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