遇到的问题,用例的接口入参过多,很多参数值是固定不变的,想要只维护需要修改的参数,使数据更简洁,有实操经验的小伙伴吗?
# 新建拼课团的yaml
add_group_buy_event:
"method": "post"
"url": "${base_url}/group_buy_event/"
"headers":
'X-Token': ${token}
'Content-Type': 'application/json;charset=UTF-8'
"json":
"checkinQrcodeToggle": false
"banner": ""
"beginTime": 1615737600000
"endTime": 1617120000000
"cancelReviewToggle": true
"coverImage": ""
"guideImage": ""
"remindHours": 1
"descr": "1"
"detail": ""
"effectiveHours": 4
"effectiveType": "RELATIVE_DATE"
"customerServerShowVO":
"iconName": ""
"image": ""
"title": ""
"customerServerGuideOpened": false
"form": "[]"
"groupBuyEventTeamRules":
- "leaderPrice": 0
"maxNumber": 10
"memberPrice": 0
"size": 2
"begintNumber": 0
"resourceId": ${resourceId}
"robotRules": [ ]
"storeOrgIds": [
"768419663792685056"
]
"tags": [
]
"repeatJoin": false
"teamLastTimeType": "LIMITLESS"
"teamLastTimeHours": 0
"titile": ${titile}
"studentCanJoin": false
"remindTimeType": "BEGIN"
"eventCategorySecondId": ""
"eventCategorySecondIdName": ""
"eventCategoryFirstId": "754008091141341184"
"eventCategoryFirstIdName": "测试"
"price": "null"
"effectiveBeginTime": 1615447845000
"effectiveEndTime": 1615447845000