import { defHttp } from '/@/utils/http/axios'; enum Api { categoryList = '/serviceCategory/configServiceCategory/list', typeList = '/ServiceType/configServiceType/list', bodyTagsList = '/directiveTag/bodyTag/list', emotionTagsList = '/directiveTag/emotionTag/list', } /** * 服务类别 */ export const categoryList = () => defHttp.get({ url: Api.categoryList }); /** * 服务类型 */ export const typeList = () => defHttp.get({ url: Api.typeList }); /** * 体型标签 */ export const bodyTagsList = () => defHttp.get({ url: Api.bodyTagsList }); /** * 指令标签 */ export const emotionTagsList = () => defHttp.get({ url: Api.emotionTagsList });