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