|
@@ -179,7 +179,7 @@ func ChangePassword(header *protocol.RequestHeader, request *protocol.ChangePass |
|
@@ -179,7 +179,7 @@ func ChangePassword(header *protocol.RequestHeader, request *protocol.ChangePass |
179
|
transactionContext.RollbackTransaction()
|
179
|
transactionContext.RollbackTransaction()
|
180
|
}()
|
180
|
}()
|
181
|
rsp = &protocol.ChangePasswordResponse{}
|
181
|
rsp = &protocol.ChangePasswordResponse{}
|
182
|
- if err = UserAuthService.ChangeUserPassword(header.UserId, request.NewPwd, request.OldPwd, fmt.Sprintf("%v", header.SimNum)); err != nil {
|
182
|
+ if err = UserAuthService.ChangeUserPassword(header.UserId, request.NewPwd, request.OldPwd, request.Phone); err != nil {
|
183
|
err = protocol.NewCustomMessage(1, err.Error())
|
183
|
err = protocol.NewCustomMessage(1, err.Error())
|
184
|
return
|
184
|
return
|
185
|
}
|
185
|
}
|