This commit is contained in:
ooo 2022-11-14 21:18:07 +08:00
parent 31fcd26e3d
commit 1a1483451a

View File

@ -47,6 +47,7 @@ async function main() {
$.code = '0' $.code = '0'
await subjectChallengeMain('recommend') await subjectChallengeMain('recommend')
// console.log($.listData) // console.log($.listData)
if ($.listData) {
for (const vo of $.listData) { for (const vo of $.listData) {
console.log(vo.subjectTitle+" "+vo.taskMsg) console.log(vo.subjectTitle+" "+vo.taskMsg)
let contentList = await task('channelBff_querySubject', { "page": 1, "pageSize": "15", "scene": "", "subjectId": vo.subjectId, "tabId": "-1", "tabType": "2", "topContentId": "", "topContents": "" }) let contentList = await task('channelBff_querySubject', { "page": 1, "pageSize": "15", "scene": "", "subjectId": vo.subjectId, "tabId": "-1", "tabType": "2", "topContentId": "", "topContents": "" })
@ -103,6 +104,8 @@ async function main() {
} }
} }
}
} }
function getUUID(format = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", UpperCase = 0) { function getUUID(format = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", UpperCase = 0) {
return format.replace(/[xy]/g, function (c) { return format.replace(/[xy]/g, function (c) {