From 791f134d787fd1dcd6e2c8511d080ed4413f06aa Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期二, 26 四月 2022 10:39:57 +0800
Subject: [PATCH] 花城E+防疫修改
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpConstant.java | 25 ++++++++++++++++---------
1 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpConstant.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpConstant.java
index 098c0d4..1e1e5c7 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpConstant.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/constants/HttpConstant.java
@@ -8,25 +8,25 @@
**/
public class HttpConstant {
- /**httpClient连接超时时间,单位毫秒 */
- public static final int CONNECT_TIMEOUT = 3*1000;
+ /** httpClient连接超时时间,单位毫秒 */
+ public static final int CONNECT_TIMEOUT = 3 * 1000;
- /**httpClient请求获取数据的超时时间(即响应时间) 单位毫秒*/
- public static final int SOCKET_TIMEOUT = 10*1000;
+ /** httpClient请求获取数据的超时时间(即响应时间) 单位毫秒 */
+ public static final int SOCKET_TIMEOUT = 10 * 1000;
- /**http连接池大小*/
+ /** http连接池大小 */
public static final int MAX_TOTAL = 10;
- /**分配给同一个route(路由)最大的并发连接数*/
+ /** 分配给同一个route(路由)最大的并发连接数 */
public static final int MAX_CONN_PER_ROUTE = 2;
- /**http连接是否是长连接*/
+ /** http连接是否是长连接 */
public static final boolean IS_KEEP_ALIVE = true;
- /**调用接口失败默认重新调用次数*/
+ /** 调用接口失败默认重新调用次数 */
public static final int REQ_TIMES = 3;
- /**utf-8编码*/
+ /** utf-8编码 */
public static final String UTF8_ENCODE = "UTF-8";
/** application/json */
@@ -34,4 +34,11 @@
/** text/xml */
public static final String TEXT_XML = "text/xml";
+
+ /** 内江服务进出记录查询接口 */
+// public static final String NEIJIANG_URL = "https://mzj.scnjdx.gov.cn/proxy/comActCameraRecord/queryAll";
+ public static final String NEIJIANG_URL = "http://118.122.78.144:8086/comActCameraRecord/queryAll";
+
+ /** 测试服务报警记录查询接口 */
+ public static final String CALL_THE_POLICE_URL = "http://test.panzhihua.nhys.cdnhxx.com/api/communitybackstage/comPropertyAlarm/queryAll/noToken";
}
--
Gitblit v1.7.1