Skip to content

Commit d586ca5

Browse files
author
piexlmax
committed
1 parent d8a5eab commit d586ca5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

web/src/api/user.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,10 @@ export const getUserInfo = () => {
158158
})
159159
}
160160

161-
export const resetPassword = () => {
161+
export const resetPassword = (data) => {
162162
return service({
163163
url: '/user/resetPassword',
164-
method: 'post'
164+
method: 'post',
165+
data: data
165166
})
166167
}

0 commit comments

Comments
 (0)