添加茶艺师收藏功能

This commit is contained in:
wangxiaowei
2026-04-28 17:27:50 +08:00
parent 8b5c23ee5b
commit dcbba2c79d
7 changed files with 330 additions and 165 deletions

View File

@ -34,6 +34,7 @@ export function getTeaSpecialist(data: ITeaSpecialistParams) {
* @param latitude 纬度
*/
export interface ITeaSpecialistDetailParams {
user_id?: number
team_user_id: number
longitude: number
latitude: number
@ -126,4 +127,27 @@ export function getExclusiveCirclesLabel() {
*/
export function reserveGroupTeaSpecialist(data) {
return http.Post<any>('/api/user/reservation', data)
}
/**
* 隐藏上门服务
*/
export function getSetting() {
return http.Post<any>('/api/setting/set', null, {
meta: { ignoreAuth: true }
})
}
/**
* 收藏茶艺师
*/
export function collectTeaSpecialist(data) {
return http.Post<any>('/api/teamaster/teamasterCollect', data)
}
/**
* 获取茶艺师收藏列表
*/
export function getCollectTeaSpecialistList(data) {
return http.Post<any>('/api/teamaster/teamasterCollectList', data)
}