feat: 客户checkin
This commit is contained in:
@@ -3,7 +3,7 @@ import request from '@/utils/request'
|
||||
interface LoginParamsType {
|
||||
name?: string // 姓名
|
||||
email: string // 邮箱
|
||||
password: string // 密码
|
||||
password?: string // 密码
|
||||
operationType: 'REGISTER' | 'LOGIN' | 'FORGET_PWD'
|
||||
verifyCode?: string // 验证码
|
||||
}
|
||||
|
||||
@@ -98,3 +98,16 @@ export function getTryOnEffectStyleList(styleId: string | number) {
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
interface CustomerInfo {
|
||||
name: string
|
||||
email: string
|
||||
}
|
||||
export const customerCheckin = (data: CustomerInfo) => {
|
||||
return request({
|
||||
url: '/api/customers/checkIn',
|
||||
method: 'get',
|
||||
params: data,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user