完善茶艺师套餐功能
This commit is contained in:
@ -15,12 +15,12 @@ export interface ITeaSpecialistParams {
|
||||
size: number
|
||||
latitude: number
|
||||
longitude: number
|
||||
level: string
|
||||
search: string
|
||||
level?: string
|
||||
search?: string
|
||||
}
|
||||
|
||||
export function getTeaSpecialist(data: ITeaSpecialistParams) {
|
||||
return http.Post('/api/Teamaster/teamasterList', data)
|
||||
return http.Post<any>('/api/Teamaster/teamasterList', data)
|
||||
}
|
||||
|
||||
/**
|
||||
@ -46,6 +46,13 @@ export function getTeaSpecialistFeeDetails(data) {
|
||||
return http.Post<any>('/api/Teamaster/countTeamPrice', data)
|
||||
}
|
||||
|
||||
/**
|
||||
* 套餐费用明细
|
||||
*/
|
||||
export function getPackageTeaSpecialistFeeDetails(data) {
|
||||
return http.Post<any>('/api/Teamaster/countGroupTeamPrice', data)
|
||||
}
|
||||
|
||||
/**
|
||||
* 茶叶商品列表
|
||||
*/
|
||||
@ -98,3 +105,14 @@ export function createTeaSpecialistRenewOrder(data: ITeaSpecialistRenewOrder) {
|
||||
export function applyTeaSpecialistRefund(id: number, order_type: number = 10) {
|
||||
return http.Post('/api/Teamaster/TeamRefund', {id, order_type})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取专属圈子标签
|
||||
*/
|
||||
export function getExclusiveCirclesLabel() {
|
||||
return http.Post<any>('/api/Teamaster/teamasterLabel', null,
|
||||
{
|
||||
meta: { ignoreAuth: true }
|
||||
}
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user