添加茶艺师页面

This commit is contained in:
wangxiaowei
2025-12-27 17:48:24 +08:00
parent d04f74bcdb
commit 9bdc45731e
8 changed files with 884 additions and 22 deletions

23
src/api/tea-specialist.ts Normal file
View File

@ -0,0 +1,23 @@
import { http } from '@/http/alova'
/**
* 获取茶艺师等级
*/
export function getTeaSpecialistLevels() {
return http.Post<any>('/api/Teamaster/teamasterLevel', null)
}
/**
* 获取茶艺师列表
*/
export interface ITeaSpecialistParams {
level_id: string
page: number
size: number
latitude: number
longitude: number
}
export function getTeaSpecialist(data: ITeaSpecialistParams) {
return http.Post('/api/Teamaster/teamasterList', data)
}