Skip to content

Commit 60f1f00

Browse files
author
piexlmax
committed
fixed: #882
1 parent f99c782 commit 60f1f00

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
@@ -157,9 +157,10 @@ export const getUserInfo = () => {
157157
})
158158
}
159159

160-
export const resetPassword = () => {
160+
export const resetPassword = (data) => {
161161
return service({
162162
url: '/user/resetPassword',
163-
method: 'post'
163+
method: 'post',
164+
data: data
164165
})
165166
}

0 commit comments

Comments
 (0)