diff --git a/src/main/java/com/chint/application/dtos/AuthenticationSignDto.java b/src/main/java/com/chint/application/dtos/AuthenticationSignDto.java index f0ab3dfe..b3872d5e 100644 --- a/src/main/java/com/chint/application/dtos/AuthenticationSignDto.java +++ b/src/main/java/com/chint/application/dtos/AuthenticationSignDto.java @@ -6,6 +6,8 @@ import lombok.Data; @Data public class AuthenticationSignDto extends BaseQuery { + + private Integer productType; //机票1 、酒店2、火车3、打车4 private String systemType; private String startTime; private String endTime; diff --git a/src/main/java/com/chint/application/out/OrderDetailController.java b/src/main/java/com/chint/application/out/OrderDetailController.java index 768cd07e..7bec88be 100644 --- a/src/main/java/com/chint/application/out/OrderDetailController.java +++ b/src/main/java/com/chint/application/out/OrderDetailController.java @@ -64,13 +64,14 @@ public class OrderDetailController { @PostMapping("/query") public Result query(@RequestBody AuthenticationSignDto authenticationDto) { + String productType = authenticationDto.getProductType().toString(); String systemType = authenticationDto.getSystemType(); String startTime = authenticationDto.getStartTime(); String endTime = authenticationDto.getEndTime(); String pageSize = authenticationDto.getPageSize().toString(); String pageNum = authenticationDto.getPageNum().toString(); String orgsign = authenticationDto.getSign(); - String sign = Digest.md5(systemType + startTime + endTime + pageSize + pageNum); + String sign = Digest.md5(productType + systemType + startTime + endTime + pageSize + pageNum); System.out.println(sign);