mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
fix
This commit is contained in:
parent
55214695f9
commit
e82d27b27c
@ -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": "" })
|
||||||
@ -104,6 +105,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) {
|
||||||
var r = (Math.random() * 16) | 0,
|
var r = (Math.random() * 16) | 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user