feat: 我的鱼篓/一键处理/出售鱼
This commit is contained in:
@@ -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`)
|
||||
}
|
||||
Reference in New Issue
Block a user