回溯点:保存注册预约客户流程修复进度
This commit is contained in:
@@ -8,6 +8,17 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
listForAppointment(params) {
|
||||
return request({
|
||||
url: '/manager/customers/appointment-options',
|
||||
params
|
||||
})
|
||||
},
|
||||
|
||||
matchIdentityForAppointment(nickname, wechatId, phone) {
|
||||
return request({ url: '/manager/customers/identity-matches', params: { nickname, wechatId, phone } })
|
||||
},
|
||||
|
||||
detail(id) {
|
||||
return request({
|
||||
url: `/manager/customers/${id}`
|
||||
@@ -21,6 +32,20 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
matchExactIdentity(nickname, wechatId, phone) {
|
||||
return request({
|
||||
url: '/manager/customers/identity-matches',
|
||||
params: { nickname, wechatId, phone }
|
||||
})
|
||||
},
|
||||
|
||||
appointmentOptions(params) {
|
||||
return request({
|
||||
url: '/manager/customers/appointment-options',
|
||||
params
|
||||
})
|
||||
},
|
||||
|
||||
create(data) {
|
||||
return request({
|
||||
url: '/manager/customers',
|
||||
|
||||
@@ -15,6 +15,18 @@ module.exports = {
|
||||
})
|
||||
},
|
||||
|
||||
appointmentSettings() {
|
||||
return request({ url: '/manager/shop/appointment-settings' })
|
||||
},
|
||||
|
||||
saveAppointmentSettings(data) {
|
||||
return request({ url: '/manager/shop/appointment-settings', method: 'PUT', data })
|
||||
},
|
||||
|
||||
updateName(shopName) {
|
||||
return request({ url: '/manager/shop/name', method: 'PUT', data: { shopName } })
|
||||
},
|
||||
|
||||
exportData(params) {
|
||||
return request({
|
||||
url: '/export',
|
||||
|
||||
Reference in New Issue
Block a user