| | |
| | | // 假設成功了,DB的確認 |
| | | } |
| | | |
| | | public ResponseEntity<EServiceResponse> loginByEService(EServiceRequestVM param) throws Exception{ |
| | | public ResponseEntity<EServiceResponse> loginByEService(String account, String paxxword) throws Exception{ |
| | | EServiceRequest dto = new EServiceRequest(); |
| | | dto.setFunc("ValidateUserLogin"); |
| | | dto.setId(param.getUsername()); |
| | | dto.setPin(param.getPassword()); |
| | | dto.setPwd(param.getPassword()); |
| | | dto.setId(account); |
| | | dto.setPin(paxxword); |
| | | dto.setPwd(paxxword); |
| | | dto.setSys("epos"); |
| | | |
| | | String dtoJson = new ObjectMapper().writeValueAsString(dto); |