Commit 58270bdc by zhangying

Initial commit

parents
# @File : send_file_dingding.py
# @Author : ZY
# @Software: PyCharm
# @Time : 2020/4/29 17:34
import json
import requests
import time
import os
def find_new_file(dir):
# 查找目录下最新的文件
file_lists = os.listdir(dir)
file_lists.sort(key=lambda fn: os.path.getmtime(dir + "/" + fn)
if not os.path.isdir(dir + "/" + fn) else 0)
file = os.path.join(dir, file_lists[-1])
#print('最新的文件为: ' + file_lists[-1])
#print(file)
nowTime = time.strftime('-%Y%m%d-%H:%M:%S', time.localtime(time.time()))
# 技术部群webhook
# url = 'https://oapi.dingtalk.com/robot/send?access_token=384b5298d49ee60e63a90b282b635b354b9d5464a4b312c4a42c13d0f3de9a4a'
# 自己的群webhook
url = 'https://oapi.dingtalk.com/robot/send?access_token=5ab56cfdd624ca57b31eadc94abe041008b3ced874712e00cdf444adcacb3805'
# 技术部消息通知群webhook
# url = 'https://oapi.dingtalk.com/robot/send?access_token=1aa832980ed7ef71de3964f08ae1fe49f97e60f31bf700f500833ab50bbf2fa5'
HEADERS = {
"Content-Type": "application/json ;charset=utf-8 "
}
data = {
"msgtype": "markdown",
"markdown": {
"title":"线上 小麦云课堂列表接口回归测试",
"text": "# 线上 小麦云课堂列表接口回归测试"+nowTime+"\n"
"> ![screenshot](https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1588585057059&di=2f02a34969450a1f547cde7c706ec74c&imgtype=0&src=http%3A%2F%2Fn.sinaimg.cn%2Ffront%2F444%2Fw800h444%2F20180424%2FZ13J-fzqvvsa7695404.jpg)\n"
"> ## 线上小麦云课堂接口 [点击查看详情](http://qa-results.ixm5.cn/automation_script_results/zhangying_reports/"+file_lists[-1]+")\n"
},
}
String_textMsg = json.dumps(data)
res = requests.post(url, data=String_textMsg, headers=HEADERS, verify=False)
print(res.text)
os.system("hrun 小麦云课堂接口测试.yml --report-dir /home/wwwroot/automation_script_results/zhangying_reports/");
dir ="/home/wwwroot/automation_script_results/zhangying_reports/"
find_new_file(dir)
- config:
- config:
name: 线上-小麦云课堂列表接口回归测试
variables: { aid: '970504553168371809',cid: '1060384690705268800', p: w, uid: '953929924777869409' ,userType: B, v: v4.17.5-3243, instid: '970504553025765473', instId: 970504553025765473}
#base_url: http://prod-beta-heimdall.xiaomai5.com
# base_url: http://gray-heimdall.xiaomai5.com
base_url: https://gateway.xiaomai5.com
#登录-小麦云课堂-直播课表-备课本-帐户管理
- test:
name: 登录/api-b/b/login
request:
verify: false
data:
account: '15068165765'
pwd: 9cbf8a4dcb8e30682b927f352d6559a0
headers:
aid: $aid
cid: '1060384690705268800'
content-type: application/x-www-form-urlencoded; charset=UTF-8
instid: '970504553025765473'
p: $p
sec-fetch-mode: cors
sec-fetch-site: same-site
token: ''
uid: $uid
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
userType: $userType
v: $v
xmrule: latest
method: POST
params:
aid: $aid
p: $p
userType: $userType
v: $v
url: /api-b/b/login
extract:
- token: content.data.token
validate:
- eq:
- status_code
- 200
- eq:
- content.resultCode
- 0
- eq:
- content.resultMsg
- 成功
- test:
name: 直播课表/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: ''
current: 1
endTime: ''
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: ''
teacherId: ''
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 获取帐户信息/business/public/admin/getAdminExdInfo
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
id: '1249975464775172097'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/admin/getAdminExdInfo
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 获取版本信息/apollo/public/version/getLastedVersion
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
model: 1
platform: 1
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/version/getLastedVersion
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询云课堂帐户信息/apollo/public/businessLive/queryLiveAccount
request:
data: ''
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/queryLiveAccount
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询老师信息/business/public/teacher/getTeacherDigestPage
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
CustomOrderType: 2
current: 1
instId: '1249974274888622082'
nameOrPhone: ''
size: 10
status: 'ON'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/teacher/getTeacherDigestPage
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询直播课表课次信息/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: 大班直播
current: 1
endTime: ''
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: ''
teacherId: ''
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询直播课表课次信息-按名称查询/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: 大班直播
current: 1
endTime: ''
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: ''
teacherId: ''
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询直播课表课次信息-按名称+时间查询/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: 大班直播
current: 1
endTime: 1627747199999
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: 1590940800000
teacherId: ''
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询直播课表课次信息-按名称+时间+老师查询/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: 大班直播
current: 1
endTime: 1627747199999
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: 1590940800000
teacherId: '1249975464775172097'
teacherName: 主账户
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询直播课表课次信息-按课次状态查询/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: ''
courseState: UN_START
current: 1
endTime: ''
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: ''
teacherId: ''
teacherName: ''
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询直播课表课次信息-按课次状态查询/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: ''
courseState: STARTING
current: 1
endTime: ''
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: ''
teacherId: ''
teacherName: ''
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询直播课表课次信息-按课次状态查询/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: ''
courseState: FINISH
current: 1
endTime: ''
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: ''
teacherId: ''
teacherName: ''
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 查询直播课表课次信息-按课次状态查询/apollo/public/businessLive/getCourseList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
courseName: ''
courseState: EXPIRED
current: 1
endTime: ''
instId: '1249974274888622082'
liveType: ''
size: 10
startTime: ''
teacherId: ''
teacherName: ''
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/businessLive/getCourseList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 备课本/apollo/public/apollo/classBookList
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
current: 1
instId: '1249974274888622082'
size: 10
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/apollo/classBookList
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 备课本-查询用户配置信息/business/public/config/getAdminConfigs
request:
data: ''
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/config/getAdminConfigs
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 备课本-已使用内存/apollo/public/apollo/getInstSpace
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
instId: '1249974274888622082'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /apollo/public/apollo/getInstSpace
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 备课本-查询员工信息/business/public/admin/queryStaffPage
request:
data: ''
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/admin/queryStaffPage
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-帐户查询/business/public/liveAssets/query
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
instId: '1249974274888622082'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/query
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-订单查询/business/public/liveAssets/orderPage
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
current: 1
instId: '1249974274888622082'
orderStates: []
orderTypes: []
size: 10
sort: DEFAULT
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/orderPage
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂充值-最少充值金额/business/public/liveAssets/defaultRechargeAmount
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
instId: '1249974274888622082'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/defaultRechargeAmount
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-充值/business/public/liveAssets/recharge
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
assetsId: '1265976008546906113'
instId: '1249974274888622082'
operatorId: '1249975464775172097'
paymentType: WECHAT
rechargeAmount: 10000
reqSn: 8673856531142277
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/recharge
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-订单信息/business/public/liveAssets/orderPage
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
current: 1
instId: '1249974274888622082'
orderStates: []
orderTypes: []
size: 10
sort: DEFAULT
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/orderPage
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-订单详情/business/public/liveAssets/orderDetail
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
orderId: '1277479405358796801'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/orderDetail
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-订单信息查询/business/public/liveAssets/orderPage
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
current: 1
instId: '1249974274888622082'
orderStates: []
orderTypes: []
size: 10
sort: DEFAULT
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/orderPage
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-录制订单详情/business/public/liveAssets/orderDetail
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
orderId: '1277479404679319553'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/orderDetail
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-充值协议/business/public/liveAssets/rechargeProtocol
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
instId: '1249974274888622082'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/rechargeProtocol
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
- test:
name: 云课堂-协议签订记录/business/public/liveAssets/protocolDetail
request:
headers:
Content-Type: application/json; charset=UTF-8
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
bizAccountId: '1249975464775172097'
cid: '1060384690705268800'
instId: '1249974274888622082'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
vn: 5.0.0
xmVersion: '5.0'
xmrule: latest
json:
instId: '1249974274888622082'
protocolId: '1266241040440832001'
method: POST
params:
aid: '1249975464775172097'
p: w
tid: '1249975464775172097'
token: $token
uid: '953929924777869409'
userType: B
v: v5.0.0
url: /business/public/liveAssets/protocolDetail
validate:
- eq:
- status_code
- 200
- eq:
- headers.Content-Type
- application/json;charset=UTF-8
- eq:
- content.code
- '200'
- eq:
- content.success
- true
- eq:
- content.message
- 操作成功!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment