1.修改订单明细添加字段区分商品类型
This commit is contained in:
parent
69a42c9b5e
commit
cdad882e06
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue