import axios from '@/libs/axios.js'

//  申请列表  分页
export const xprhStoreApplyQueryPage = (params) => {
  const url = `xprhStoreApply/queryPage/${params.pageNo}/${params.pageSize}`
  delete params.pageNo
  delete params.pageSize
  return axios.request({
    url: url,
    data: params,
    method: 'post'
  })
}
// 审核
export const xprhStoreApplyAudit = (params) => {
  const url = `xprhStoreApply/audit`
  return axios.request({
    url: url,
    data: params,
    method: 'post'
  })
}
// 门店认证详情
export const xprhStoreApplyDetail = (params) => {
  return axios.request({
    url: `xprhStoreApply/findBySn/${params.sn}`,
    method: 'get'
  })
}