回溯点:保存注册预约客户流程修复进度

This commit is contained in:
2026-10-30 13:02:38 +08:00
parent 7b40ee1650
commit 53b6fcaa11
45 changed files with 960 additions and 132 deletions
+25
View File
@@ -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',
+12
View File
@@ -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',