Commit 11d674dd authored by quwei's avatar quwei 🤸🏼

Upload New File

parent f3c88bb4
Pipeline #3651 canceled with stages
# 管理后台-作者新增
> URL: http://localhost:10003/jac/bbs/mgr/authorInfo/newAuthorInfo
>
> Origin Url: http://localhost:10003/jac/bbs/mgr/authorInfo/newAuthorInfo
>
> Type: POST
### Request headers
|Header Name| Header Value|
|---------|------|
|jwt|0d116ad3177a40a6a4438c9f21e7ca5b|
### Parameters
##### Path parameters
| Parameter | Type | Value | Description |
|---------|------|------|------------|
##### URL parameters
|Required| Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
##### Body parameters
###### JSON
```
{
"authorName": "曲奋斗",
"profilePhoto": "https://jac-bbs.obs.cn-east-3.myhuaweicloud.com/image/1647334072835_1c3b147f.png",
"authorType": 1,
"authorIntroduction": "测试简介11111111111111111111111111111111111111111111111",
}
```
###### JSON document
```
{
"authorIntroduction":"作者简介,最多20字,App端展示",
"profilePhoto":"头像地址",
"authorName":"作者名称",
"authorType":"作者类型:1-名人,2-普通作者",
"pageSize":"每页记录条数",
"id":"id",
"pageNum":"页码"
}
```
##### Form URL-Encoded
|Required| Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
##### Multipart
|Required | Parameter | Type | Value | Description |
|---------|---------|------|------|------------|
### Response
##### Response example
```
{
"resultCode": 600,
"message": "作者简介最多20字",
"traceId": "0b476afd21b246f7",
"data": null
}
```
##### Response document
```
{
"traceId":"No comment,Type =String",
"data":{},
"resultCode":"No comment,Type =Number",
"message":"No comment,Type =String"
}
```
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