Commit ef000214 by jixudong

Replace 项目列表-变量.md

parent 8e6e34a8
**测试环境URL**:http://tx-gz14.heyqiwu.cn **测试环境URL**:http://tx-gz14.heyqiwu.cn
...@@ -425,3 +425,58 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/' \ ...@@ -425,3 +425,58 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/global_attr/' \
} }
``` ```
### 获取所有渠道
**METHOD**: GET
**path**: api/platform/design/api/channel/all
**RequestHeaders:** 同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求示例
```js
curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/api/channel/all' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFd056SXhNak1zSW1WNGNDSTZNVGN3TVRBM09UTXlNeXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TXpVd2ZRLnpUQ0twMGo0U0lGX2RNRjdQd1hTbE9RNHNabDFWTnE2djFjWTFBZ0tMelE6czAwcGVyczNjcmV0' \
-H 'Connection: keep-alive' \
-H 'Cookie: username=jixudong; nickname=jixudong; authority=1; icon=#; platform_token=eyJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3MDEwNzIxMjMsImV4cCI6MTcwMTA3OTMyMywiYXV0aG9yaXR5IjoxLCJpZCI6MzUwfQ.zTCKp0j4SIF_dMF7PwXSlOQ4sZl1VNq6v1cY1AgKLzQ' \
-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": [
{
"appChannelId": "DEFAULT",
"appChannelName": "默认"
}
]
}
```
###
\ 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