cultivationApp/api/dict.js

21 lines
780 B
JavaScript
Raw Normal View History

2024-01-23 19:52:15 +08:00
import syhttp from "@/utils/syhttp.js";
import http from "@/utils/http.js";
// 通用字典
//养殖基地类型
export const farmTypeLists = () => syhttp.get('/common/dict_data_lists_by_type_value', {type_value: 'farm_type'});
//养殖种类
export const breedTypeLists = () => syhttp.get('/common/dict_data_lists_by_type_value', {type_value: 'breed_type'});
2024-01-26 17:29:25 +08:00
//栏舍类型
export const fenceHouseTypeLists = () => syhttp.get('/common/dict_data_lists_by_type_value', {type_value: 'fence_house_type'});
//动物类型
export const animalTypeLists = () => syhttp.get('/common/dict_data_lists_by_type_value', {type_value: 'animal_type'});
2024-01-29 18:12:35 +08:00
//饲料类型
export const feedingTypeLists = () => syhttp.get('/common/dict_data_lists_by_type_value', {type_value: 'feeding_type'});