...
|
...
|
@@ -2,7 +2,7 @@ name: 抢单任务验收 |
|
|
base_url: ${ENV(base_worth_url)}
|
|
|
verify: False
|
|
|
variables:
|
|
|
taskId: ${get_task_status_4_from_database()}
|
|
|
taskId: ${get_loot_task_id()}
|
|
|
remark: 上传报告${get_nowtime()}
|
|
|
realityTime: ${get_today()}
|
|
|
uid0: ${get_uid0()}
|
...
|
...
|
@@ -21,13 +21,13 @@ request: |
|
|
X-Requested-With: XMLHttpRequest
|
|
|
json:
|
|
|
receiver:
|
|
|
uid: $uid15
|
|
|
name: $name15
|
|
|
uid: $uid0
|
|
|
name: $name0
|
|
|
percent: 25
|
|
|
reward: 500
|
|
|
participant:
|
|
|
- uid: $uid0
|
|
|
name: $name0
|
|
|
- uid: $uid15
|
|
|
name: $name15
|
|
|
percent: ${convert_to_number(25)}
|
|
|
reward: ${convert_to_number(500)}
|
|
|
- uid: $uid1
|
...
|
...
|
@@ -44,13 +44,13 @@ request: |
|
|
solution:
|
|
|
total: ${convert_to_number(20)}
|
|
|
receiver:
|
|
|
uid: $uid15
|
|
|
name: $name15
|
|
|
uid: $uid0
|
|
|
name: $name0
|
|
|
percent: ${convert_to_number(25)}
|
|
|
score: ${convert_to_number(5)}
|
|
|
participant:
|
|
|
- uid: $uid0
|
|
|
name: $name0
|
|
|
- uid: $uid15
|
|
|
name: $name15
|
|
|
percent: ${convert_to_number(25)}
|
|
|
score: ${convert_to_number(5)}
|
|
|
- uid: $uid1
|
...
|
...
|
@@ -67,10 +67,10 @@ request: |
|
|
taskId: $taskId
|
|
|
method: POST
|
|
|
url: task/loot/accept
|
|
|
#validate:
|
|
|
## - eq:
|
|
|
## - content.code
|
|
|
## - 0
|
|
|
## - eq:
|
|
|
## - content.msg
|
|
|
## - $msg |
|
|
\ No newline at end of file |
|
|
validate:
|
|
|
- eq:
|
|
|
- content.code
|
|
|
- 0
|
|
|
- eq:
|
|
|
- content.msg
|
|
|
- $msg |
|
|
\ No newline at end of file |
...
|
...
|
|