// 物业管理员
import http from '@/apis/axios'
const api = 'admin/'
export default {

  // 分页查询
  list: (data, params) => http(api + 'accountlist', data, 'post', params),
  // 详情
  detail: (data, params) => http(api + 'accountinfo', data, 'post', params),
  // 更新
  update: (data, params) => http(api + 'accountsave', data, 'post', params),
  // 添加
  add: (data, params) => http(api + 'accountadd', data, 'post', params),
  // 视频列表
  videoList:(data, params) => http(api + 'video', data, 'post', params),
  // 重置密码
  setpwd: (data, params) => http(api + 'checkpwd', data, 'post', params),
}
