You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.1 KiB
68 lines
2.1 KiB
|
20 hours ago
|
meta {
|
||
|
|
name: 保存标底认定规则
|
||
|
|
type: http
|
||
|
|
seq: 6
|
||
|
|
tags: [
|
||
|
|
generated
|
||
|
|
]
|
||
|
|
}
|
||
|
|
|
||
|
|
post {
|
||
|
|
url: {{baseUrl}}/api/rule/project-rule/bid-config/save
|
||
|
|
body: formUrlEncoded
|
||
|
|
auth: inherit
|
||
|
|
}
|
||
|
|
|
||
|
|
body:form-urlencoded {
|
||
|
|
bidConfigs[0].bidTypeKey: A+
|
||
|
|
bidConfigs[0].name: A+ 类标底
|
||
|
|
bidConfigs[0].bidOwnerPct: 80
|
||
|
|
bidConfigs[0].winOwnerPct: 20
|
||
|
|
bidConfigs[0].applyType: AFTER_PUBLISH
|
||
|
|
bidConfigs[1].bidTypeKey: A-
|
||
|
|
bidConfigs[1].name: A- 类标底
|
||
|
|
bidConfigs[1].bidOwnerPct: 60
|
||
|
|
bidConfigs[1].winOwnerPct: 40
|
||
|
|
bidConfigs[1].applyType: IN_ADVANCE
|
||
|
|
}
|
||
|
|
|
||
|
|
docs {
|
||
|
|
# 保存标底认定规则
|
||
|
|
`POST /api/rule/project-rule/bid-config/save`
|
||
|
|
保存区块⑤标底认定规则(全量覆盖;行列表不能为空,bidTypeKey 必填且不重复;比例 0-100、申请类型仅 AFTER_PUBLISH/IN_ADVANCE;修改仅影响新认定项目)。
|
||
|
|
|
||
|
|
## 请求参数
|
||
|
|
|
||
|
|
| 参数 | 类型 | 必填 | 默认 | 说明 |
|
||
|
|
| --- | --- | --- | --- | --- |
|
||
|
|
| bidConfigs[0].bidTypeKey | string | 是 | - | 标底类型键(A+/A-/B+/B-/C/N/H/X/SQ,固定骨架) |
|
||
|
|
| bidConfigs[0].name | string | 否 | - | 名称 |
|
||
|
|
| bidConfigs[0].remark | string | 否 | - | 说明 |
|
||
|
|
| bidConfigs[0].bidOwnerPct | int | 否 | - | 标底方认定比例(0-100 整数,越界报错) |
|
||
|
|
| bidConfigs[0].winOwnerPct | int | 否 | - | 中标方认定比例(0-100 整数,越界报错) |
|
||
|
|
| bidConfigs[0].applyType | string | 否 | - | 申请类型:AFTER_PUBLISH=发标后认定 / IN_ADVANCE=需提前申请(其他值报错) |
|
||
|
|
|
||
|
|
## 请求示例
|
||
|
|
|
||
|
|
请求头:Authorization: Bearer {{token}}
|
||
|
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
|
||
|
|
POST /api/rule/project-rule/bid-config/save
|
||
|
|
bidConfigs[0].bidTypeKey=A%2B&bidConfigs[0].name=A%2B 类标底&bidConfigs[0].bidOwnerPct=80&bidConfigs[0].winOwnerPct=20&bidConfigs[0].applyType=AFTER_PUBLISH&bidConfigs[1].bidTypeKey=A-&bidConfigs[1].name=A- 类标底&bidConfigs[1].bidOwnerPct=60&bidConfigs[1].winOwnerPct=40&bidConfigs[1].applyType=IN_ADVANCE
|
||
|
|
|
||
|
|
## 响应 data 结构
|
||
|
|
|
||
|
|
null
|
||
|
|
|
||
|
|
## 响应示例
|
||
|
|
|
||
|
|
```json
|
||
|
|
{
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": null
|
||
|
|
}
|
||
|
|
```
|
||
|
|
}
|