From e3f22f49c1c3c9e8e0026a0bdf29c3a835832165 Mon Sep 17 00:00:00 2001 From: Lemon Date: Mon, 21 Aug 2023 11:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=20=E8=B7=AF=E9=80=9A?= =?UTF-8?q?=E4=BA=91=E5=81=9C=E9=80=9A=E7=94=A8=E5=AE=9E=E4=BD=93=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lutongyun/common/LTYTCommonParams.java | 48 +++++++++++++++++++ .../lutongyun/common/LTYTCommonResult.java | 22 +++++++++ 2 files changed, 70 insertions(+) create mode 100644 jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lutongyun/common/LTYTCommonParams.java create mode 100644 jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lutongyun/common/LTYTCommonResult.java diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lutongyun/common/LTYTCommonParams.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lutongyun/common/LTYTCommonParams.java new file mode 100644 index 000000000..fa74ecfc4 --- /dev/null +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lutongyun/common/LTYTCommonParams.java @@ -0,0 +1,48 @@ +package com.jsowell.thirdparty.lutongyun.common; + +import lombok.Data; + +/** + * 路通云停道闸系统 通用参数 + * + * @author Lemon + * @Date 2023/8/21 9:26 + */ +@Data +public class LTYTCommonParams { + /** + * 应用标识 Y + * 一个 AppId 对应唯一的 SecretKey,用来生成签名信息 + */ + private String appId; + + /** + * 放行标志 Y + * 登入获取 + */ + private String token; + + /** + * 请求时间 Y + * 格式:YYYYMMDDHHMMSS + */ + private String accTime; + + /** + * 版本 Y + * 例:1.0 + */ + private String version; + + /** + * 请求条件 N + * 查询条件 + */ + private String data; + + /** + * 城市编码 N + * 用于标记来源的城市平台 + */ + private String cityCode; +} diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lutongyun/common/LTYTCommonResult.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lutongyun/common/LTYTCommonResult.java new file mode 100644 index 000000000..31d0f54e3 --- /dev/null +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/lutongyun/common/LTYTCommonResult.java @@ -0,0 +1,22 @@ +package com.jsowell.thirdparty.lutongyun.common; + +import lombok.Data; + +/** + * 路通云停 + * + * @author Lemon + * @Date 2023/8/21 9:52 + */ +@Data +public class LTYTCommonResult { + /** + * 错误编码 + */ + private String code; + + /** + * 错误描述 + */ + private String msg; +}