Commit 4920a0ed by jixudong

Upload New File

parent 178d7b93
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**生产环境URL**:http://tx-gz11.heyqiwu.cn
[TOC]
### 搜索图片
**METHOD**: GET
**path**: api/platform/design/img/manage/search
**RequestHeaders:** 同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| -------- | ---- | -------- | ----------- |
| category | | yes | 分类 |
| imgName | | yes | 图片名称 |
#### 请求body字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求示例
```js
curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/img/manage/search?category=user&imgName=1' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFd05qRTVPVFlzSW1WNGNDSTZNVGN3TVRBMk9URTVOaXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TXpVd2ZRLncxWFl5eE5EYVhtX1hXOGlXX0xodmV2R1lVS254cEdQUHVJQXFmei10ekE6czAwcGVyczNjcmV0' \
-H 'Connection: keep-alive' \
-H 'Cookie: username=jixudong; nickname=jixudong; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDEwNjE5OTYsImV4cCI6MTcwMTA2OTE5NiwiYXV0aG9yaXR5IjoxLCJpZCI6MzUwfQ.w1XYyxNDaXm_XW8iW_LhvevGYUKnxpGPPuIAqfz-tzA' \
-H 'Referer: http://tx-gz11.heyqiwu.cn/Editor/' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' \
-H 'botAccount: txgz12botss683671618' \
-H 'groupId: 1703' \
-H 'mul: true' \
-H 'projectId: 3165' \
--compressed \
--insecure
```
#### 响应实例
```json
{
"code": 1,
"msg": "成功",
"data": [
{
"time": "1699595387746",
"filename": "1.png",
"url": "http://tx-gz13.heyqiwu.cn/Editor/upload/img/imgManager/350/未分类/1699595387746_1.png",
"label": "未分类"
}
]
}
```
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