修复
This commit is contained in:
@@ -70,20 +70,19 @@ async function handleAnalyzeUser() {
|
||||
hasMore.value = false
|
||||
await clearData()
|
||||
|
||||
const req = await TikhubService.postTikHup({
|
||||
type: InterfaceType.DOUYIN_WEB_USER_POST_VIDEOS,
|
||||
methodType: MethodType.GET,
|
||||
urlParams: {
|
||||
sec_user_id,
|
||||
max_cursor: 0,
|
||||
type: 'tik-app',
|
||||
sort_type: form.value.sort_type,
|
||||
count: form.value.count || 20,
|
||||
},
|
||||
})
|
||||
|
||||
try {
|
||||
const resp = await req
|
||||
const resp = await TikhubService.postTikHup({
|
||||
type: InterfaceType.DOUYIN_WEB_USER_POST_VIDEOS,
|
||||
methodType: MethodType.GET,
|
||||
urlParams: {
|
||||
sec_user_id,
|
||||
max_cursor: 0,
|
||||
type: 'tik-app',
|
||||
sort_type: form.value.sort_type,
|
||||
count: form.value.count || 20,
|
||||
},
|
||||
})
|
||||
|
||||
const result = processApiResponse(resp, form.value.platform)
|
||||
maxCursor.value = result.maxCursor
|
||||
hasMore.value = result.hasMore
|
||||
@@ -190,20 +189,19 @@ async function handleLoadMore() {
|
||||
}
|
||||
|
||||
loadingMore.value = true
|
||||
const req = await TikhubService.postTikHup({
|
||||
type: InterfaceType.DOUYIN_WEB_USER_POST_VIDEOS,
|
||||
methodType: MethodType.GET,
|
||||
urlParams: {
|
||||
sec_user_id,
|
||||
max_cursor: maxCursor.value,
|
||||
type: 'tik-app',
|
||||
sort_type: form.value.sort_type,
|
||||
count: form.value.count || 20,
|
||||
},
|
||||
})
|
||||
|
||||
try {
|
||||
const resp = await req
|
||||
const resp = await TikhubService.postTikHup({
|
||||
type: InterfaceType.DOUYIN_WEB_USER_POST_VIDEOS,
|
||||
methodType: MethodType.GET,
|
||||
urlParams: {
|
||||
sec_user_id,
|
||||
max_cursor: maxCursor.value,
|
||||
type: 'tik-app',
|
||||
sort_type: form.value.sort_type,
|
||||
count: form.value.count || 20,
|
||||
},
|
||||
})
|
||||
|
||||
if (form.value.platform === '抖音') {
|
||||
const { mapFromDouyin } = await import('./utils/benchmarkUtils')
|
||||
|
||||
Reference in New Issue
Block a user