feat(auth): 支持企业微信重置密码

This commit is contained in:
sophie committed 2026-06-15 17:13:48 +08:00
1 parent 9bc4d1dd18
commit 6baeffba64
55 files changed
+2852 -546

No files matched your search

@@ -35,6 +35,13 @@ export const submitLeaveWorkflow = (form: Record<string, any>) =>
body: JSON.stringify(form),
});
export const resetPasswordByWecom = (employeeId: string, username: string) =>
requestJson('/api/user/reset-password-by-wecom', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ employee_id: employeeId, username }),
});
export const resetPasswordConfirm = (token: string, newPassword: string) =>
requestJson('/api/user/reset-password-confirm', {
method: 'POST',