[Python] 纯文本查看 复制代码import random
import time
import requests
def get_all():
url = 'https://zjyapp.icve.com.cn/newmobileapi/assistTeacher/getModuleListByClassId'
data = {
'courseOpenId': 'courseOpenId',
'openClassId': 'courseOpenId',
'stuId': 'stuId',
}
html = requests.post(url=url, data=data).json()
data = html['moduleList']
moduleIds = []
for i in data:
print(i['moduleName'] + '已加载')
moduleIds.append(i['moduleId'])
return moduleIds
def get_list(moduleId):
url = 'https://zjy2.icve.com.cn/newmobileapi/assistTeacher/getTopicListByModuleId'
moduleIds = []
for i in moduleId:
data = {
'openClassId': 'openClassId',
'courseOpenId':