From cdad882e066c9d1c3a50e04a6167cdc4faf9e74a Mon Sep 17 00:00:00 2001 From: wanglf3 Date: Thu, 29 Feb 2024 16:53:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5=E5=8C=BA=E5=88=86?= =?UTF-8?q?=E5=95=86=E5=93=81=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/chint/application/dtos/AuthenticationSignDto.java | 2 ++ .../java/com/chint/application/out/OrderDetailController.java | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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);