MrShi
6 天以前 eb7a808aaf7dd0a6dd2ff70f9ef3f8ce0b1e31d1
admin/src/api/business/shopInfo.js
@@ -15,7 +15,10 @@
}
export function updateById (data) {
  return request.post('/business/shopInfo/updateById', data)
  return request.post('/business/shopInfo/updateShop', data)
}
export function maintainPrinter (data) {
  return request.post('/business/shopInfo/maintainPrinter', data)
}
export function deleteById (id) {
@@ -28,4 +31,24 @@
      ids
    }
  })
}
}
// 修改门店状态
export function changeStatus (data) {
  return request.post('/business/shopInfo/changeStatus', data)
}
// 门店详情
export function detail (id) {
  return request.get(`/business/shopInfo/detail/${id}`)
}
// 重置密码
export function resetPassword (data) {
  return request.post('/business/shopInfo/resetPassword', data)
}
// 门店审批
export function audit (data) {
  return request.post('/business/shopInfo/audit', data)
}