// 伴宠师-伴宠师认证
import request from '@/utils/request'

// 伴宠师工作台-伴宠师基本信息删除
export const deleteUser = (data) => {
  return request({
    url: '​/applet​/UserTeacher​/deleteUser',
    headers: {
      isToken: true
    },
    method: "post",
    data
  })
}

// 伴宠师工作台-伴宠师基本信息添加
export const insertUser = (data) => {
  return request({
    url: '​/applet/UserTeacher/insertUser',
    headers: {
      isToken: true
    },
    method: "post",
    data
  })
}

// 伴宠师工作台-伴宠师基本信息修改
export const udpateUser = (data) => {
  return request({
    url: '/prod-api​/applet​/UserTeacher​/udpateUser',
    headers: {
      isToken: true
    },
    method: "post",
    data
  })
}

// 伴宠师工作台-伴宠师列表数据查询
export const userList = () => {
  return request({
    url: '/applet/UserTeacher/userList',
    headers: {
      isToken: true
    },
    method: "get"
  })
}