feat: 我的鱼篓/一键处理/出售鱼

This commit is contained in:
LyMysterious
2025-04-11 21:22:35 +08:00
parent 8117e8ce2e
commit 9132ea1e19
7 changed files with 255 additions and 81 deletions
+21
View File
@@ -6,4 +6,25 @@ import request from '@/utils/request'
*/
export function myFishBaskets () {
return request.get('/Fishing/all-fish')
}
/**
* 出售鱼
*/
export function sellFish (data) {
return request.post('/Trade/sell', data)
}
/**
* 处理指定鱼
*/
export function handleFishById (fishId) {
return request.post(`/Trade/handle/${fishId}`)
}
/**
* 自动处理鱼
*/
export function autoHandleFish () {
return request.post(`/Trade/auto-handle`)
}