import { request } from './request' const api = { //新增幼崽接口 api_squirrel_addNewSquirrel(data) { return request({ url: 'api_squirrel/addNewSquirrel', method: 'post', data }) }, //查询小鼠接口 api_squirrel_detail(data) { return request({ url: 'api_squirrel/getInfos', method: 'post', data }) }, //编辑小鼠接口 api_squirrel_edit(data) { return request({ url: 'api_squirrel/edit', method: 'post', data }) }, //新增小鼠接口 api_squirrel_add(data) { return request({ url: 'api_squirrel/add', method: 'post', data }) }, //获取父亲母亲接口 api_squirrel_getparents(data) { return request({ url: 'api_squirrel/getparents', method: 'post', data }) }, //根据笼位获取鼠信息列表接口 api_squirrel_list(data) { return request({ url: 'api_squirrel/list', method: 'post', data }) }, //获取负责人接口 api_cage_getUser(data) { return request({ url: 'api_cage/getUser', method: 'post', data }) }, //获取笼位类型 api_cage_getCagetype(data) { return request({ url: 'api_cage/getCagetype', method: 'post', data }) }, //获取品系接口 api_basicinfo_strains(data) { return request({ url: 'api_basicinfo/strains', method: 'post', data }) }, //获取实验室接口 api_basicinfo_group(data) { return request({ url: 'api_basicinfo/group', method: 'post', data }) }, //获取基因接口 api_basicinfo_gene(data) { return request({ url: 'api_basicinfo/gene', method: 'post', data }) }, //添加笼位接口 api_cage_add(data) { return request({ url: 'api_cage/add', method: 'post', data }) }, //获取笼位接口 api_cage_list(data) { return request({ url: 'api_cage/list', method: 'post', data }) }, //用户登录 api_login(data) { return request({ url: 'api_login', method: 'post', data }) }, //用户注册 api_login_register(data) { return request({ url: 'api_login/register', method: 'post', data }) } } export default api