submitCompete_bid_api.yml
850 字节
name: 竞标
base_url: ${ENV(base_url)}
verify: False
variables:
# id: ${get_bid_task_id()}
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_task_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 1.0.0
json:
id: $id
action: 1
method: POST
url: v1/task/submitCompete
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 已成功参与竞标,等待中标!