添加茶艺师页面
This commit is contained in:
23
src/api/tea-specialist.ts
Normal file
23
src/api/tea-specialist.ts
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user