Преглед на файлове

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/main/java/com/rshy/project/hy/manager/impl/RshyJkManagerImpl.java
#	src/main/java/com/rshy/project/hy/model/enums/PassStatusEnum.java
lileilei преди 2 години
родител
ревизия
b9fdd56e68

+ 7 - 6
src/main/java/com/rshy/project/hy/model/enums/PassStatusEnum.java

@@ -11,14 +11,15 @@ import lombok.Getter;
 @Getter
 @AllArgsConstructor
 public enum PassStatusEnum {
-    NO_PASSING(0, "核验不通过"),
-    RIGHT_WAY(1, "核验通过"),
-    NORMAL_TRAFFIC(2, "核验通过"),
-    RED_CODE(0, "红码"),
-    YELLOW_CODE(1, "黄码"),
-    GREEN_CODE(2, "绿码");;
+    NO_PASSING(0, "核验不通过", "请重刷"),
+    RIGHT_WAY(1, "核验通过", "请稍等"),
+    NORMAL_TRAFFIC(2, "核验通过", "通过"),
+    RED_CODE(3, "红码", "健康码异常"),
+    YELLOW_CODE(3, "黄码", "健康码异常"),
+    GREEN_CODE(2, "绿码", "通过");;
 
     private Integer code;
 
     private String desc;
+    private String tts;
 }

+ 5 - 5
src/main/java/com/rshy/project/hy/server/ItfwServer.java

@@ -63,7 +63,7 @@ public class ItfwServer {
      * 基础服务访问
      *
      * @param param
-     * @param timeout 超时时间
+     * @param timeout 超时时间
      * @return
      */
     public String baseAgentApi(AgentApiParam param, Integer timeout) {
@@ -127,7 +127,7 @@ public class ItfwServer {
      * 重点人员服务
      *
      * @param idNumber 身份证号
-     * @param timeout  超时时间
+     * @param timeout  超时时间
      * @return
      */
     public PctzdryDTO getPctzdry(String idNumber, Integer timeout) {
@@ -184,7 +184,7 @@ public class ItfwServer {
      * 人员劣迹服务
      *
      * @param idNumber
-     * @param timeout  超时时间
+     * @param timeout  超时时间
      * @return
      */
     public PctztDTO getPctzt(String idNumber, Integer timeout) {
@@ -242,7 +242,7 @@ public class ItfwServer {
      * 新的执法办案服务
      *
      * @param idNumber
-     * @param timeout  超时时间
+     * @param timeout  超时时间
      * @return
      */
     public PctzfbaDTO getPctzfba(String idNumber, Integer timeout) {
@@ -303,7 +303,7 @@ public class ItfwServer {
      *
      * @param idNumber 身份证号
      * @param ajbh
-     * @param timeout  超时时间
+     * @param timeout  超时时间
      * @return
      */
     public PctdfkDTO getPctdfk(String idNumber, String ajbh, Integer timeout) {

+ 7 - 1
src/main/java/com/rshy/project/hy/server/param/RshyParam.java

@@ -17,7 +17,7 @@ import lombok.experimental.Accessors;
  */
 @Data
 @Accessors(chain = true)
-@ApiModel("请求人员盘查请求参数")
+@ApiModel("普通核验请求参数")
 public class RshyParam {
     @ApiModelProperty("身份证号")
     private String sfzh;
@@ -30,4 +30,10 @@ public class RshyParam {
 
     @ApiModelProperty("超时时间")
     private Integer timeout = WebConstant.TIMEOUT;
+
+    @ApiModelProperty("人脸照片 Base64")
+    private String photo;
+
+    @ApiModelProperty("锁屏状态")
+    private Integer screenLocked;
 }