Commit 3540380e by jixudong

Replace 项目列表-问答.md

parent f40e3d01
**测试环境URL**:http://tx-gz14.heyqiwu.cn **测试环境URL**:http://tx-gz14.heyqiwu.cn
...@@ -763,4 +763,72 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/system/qa/126845/disable?pro ...@@ -763,4 +763,72 @@ curl 'http://tx-gz11.heyqiwu.cn/api/platform/design/system/qa/126845/disable?pro
} }
``` ```
### 获取问答分数
**METHOD**: GET
**path**: api/platform/design/qa/score
**RequestHeaders:** 同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
#### 请求body字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求示例
```js
curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/qa/score?projectId=6381' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFek16WXlNVGdzSW1WNGNDSTZNVGN3TVRNME16UXhPQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmxKa1ZKeFo5UlVNa2RWeE1sVW9oOXR5RVAweWVXaDBZRVlIbVRESkw0TEE6czAwcGVyczNjcmV0' \
-H 'Connection: keep-alive' \
-H 'Origin: http://localhost:8080' \
-H 'Referer: http://localhost:8080/' \
-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: txgz14botwww853177949' \
-H 'groupId: 713' \
-H 'mul: true' \
-H 'projectId: 6381' \
--compressed \
--insecure
```
#### 响应实例
```json
{
"code": 1,
"msg": "成功",
"data": {
"plot": [
{
"id": 2162176,
"num": "1-0",
"score": 95
},
{
"id": 2162177,
"num": "1-1",
"score": 95
},
{
"id": 2162178,
"num": "1-2",
"score": 95
}
],
"whole": 95
}
}
```
### ###
\ 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