Blame view

antis-ncc-admin/src/api/extend/mallAppointment.js 860 Bytes
e1dcb3a0   “wangming”   1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  import request from '@/utils/request'
  
  // ========== 会员商城-预约管理接口(管理端) ==========
  
  // 预约列表(全门店,多条件)
  export function getMallAppointmentList(data) {
    return request({
      url: '/api/Extend/LqMallAppointment/GetAdminList',
      method: 'get',
      data
    })
  }
  
  // 预约详情
  export function getMallAppointmentDetail(id) {
    return request({
      url: '/api/Extend/LqMallAppointment/GetAdminDetail',
      method: 'get',
      data: { id }
    })
  }
  
  // 确认预约(待确认→已确认)
  export function confirmMallAppointment(data) {
    return request({
      url: '/api/Extend/LqMallAppointment/Confirm',
      method: 'put',
      data
    })
  }
  
  // 取消预约
  export function cancelMallAppointment(data) {
    return request({
      url: '/api/Extend/LqMallAppointment/AdminCancel',
      method: 'put',
      data
    })
  }