智能导入

This commit is contained in:
筱野
2025-09-18 21:39:05 +08:00
parent ffdb0bda26
commit c096d265ab
11 changed files with 508 additions and 96 deletions

View File

@@ -142,6 +142,18 @@ class PublishService {
showToast: false,
})
}
async extract_tennis_activity(req: {text: string}): Promise<getPicturesRes> {
return httpService.post('/ai/extract_tennis_activity', req, {
showLoading: false,
showToast: false,
})
}
async extract_tennis_activity_from_image(req: {image_url: string}): Promise<getPicturesRes> {
return httpService.post('/ai/extract_tennis_activity_from_image', req, {
showLoading: false,
showToast: false,
})
}
async getPictures(req) {
const { type, tag, otherReq = {} } = req
if (type === 'history') {