@@ -14,5 +14,6 @@
Token: ${read_yaml(token)}
extract:
kjid: $.data.result[0].certificateId
+ wjid: $.data.result[?(@.certificateType == 0)].fileId
validate:
- contains: true
@@ -5,7 +5,7 @@
url: /api/service-qm/auth/AppCoursewareController/viewCourseware?certificateId=${read_yaml(kjid)}
headers:
- extract:
- wjid: $.data.fileId
+# extract:
+# wjid: $.data.fileId
@@ -4,7 +4,7 @@
method: post
url: /api/service-qm/videoController/auth/getFileUrl
json:
- fileId: "78f7dc8b5bb65bdc9f95ce95c3edc6b6"
+ fileId: ${read_yaml(wjid)}
fileType: "2"