|
|
@@ -3,6 +3,8 @@
|
|
|
package com.kxs.common.core.constant;
|
|
|
|
|
|
|
|
|
+import java.time.Duration;
|
|
|
+
|
|
|
/**
|
|
|
* 服务名称
|
|
|
*
|
|
|
@@ -13,6 +15,12 @@ public interface ServiceNameConstants {
|
|
|
|
|
|
String CLIENT_NAME = "http://";
|
|
|
|
|
|
+ /**
|
|
|
+ * 请求超时时间
|
|
|
+ * 单位:秒
|
|
|
+ */
|
|
|
+ Duration REQ_TIMEOUT = Duration.ofSeconds(30);
|
|
|
+
|
|
|
/**
|
|
|
* 系统模块
|
|
|
*/
|
|
|
@@ -32,6 +40,7 @@ public interface ServiceNameConstants {
|
|
|
* 仓库模块
|
|
|
*/
|
|
|
String STORE_SERVICE = "kxs-store-biz";
|
|
|
+
|
|
|
/**
|
|
|
* 统计模块
|
|
|
*/
|