注册修改为绑定

This commit is contained in:
2025-10-21 21:51:51 +08:00
parent 5ee4e077fb
commit be2323074b
28 changed files with 729 additions and 211 deletions

View File

@@ -77,8 +77,8 @@ class EmployeeService {
}
/**
* 根据手机号查找员工
* @param phone 手机
* 根据号查找员工
* @param phone
* @returns 员工信息或null
*/
async findEmployeeByPhone(phone: string): Promise<EmployeeInfo | null> {
@@ -87,9 +87,9 @@ class EmployeeService {
}
/**
* 验证员工信息(用于注册时检查)
* @param name 姓名
* @param phone 手机
* 验证员工信息(用于绑定时检查)
* @param name 姓名
* @param phone
* @returns 验证结果
*/
async validateEmployee(name: string, phone: string): Promise<{ success: boolean; message?: string; employee?: EmployeeInfo }> {