From e26c98bd7cfde538096d74ea9019e2128b5fe313 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期二, 16 五月 2023 10:39:24 +0800 Subject: [PATCH] 优化 --- src/main/java/com/platform/resultTool/PlatformCode.java | 20 ++++++++++---------- src/main/java/com/platform/verification/ApplicationTool.java | 7 ------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/src/main/java/com/platform/resultTool/PlatformCode.java b/src/main/java/com/platform/resultTool/PlatformCode.java index 6bf655a..e7c9c63 100644 --- a/src/main/java/com/platform/resultTool/PlatformCode.java +++ b/src/main/java/com/platform/resultTool/PlatformCode.java @@ -7,27 +7,27 @@ */ public final class PlatformCode { - /*鎴愬姛*/ + /**鎴愬姛*/ public static final String SUCCESS = "100"; - /*閿欒鎻愮ず*/ + /**閿欒鎻愮ず*/ public static final String ERROR_TIPS="200"; - /*绛惧悕閿欒*/ + /**绛惧悕閿欒*/ public static final String ERROR_SIGN = "201"; - /*appId閿欒*/ + /**appId閿欒*/ public static final String ERROR_APPIS= "202"; - /*鍙傛暟涓嶈兘涓虹┖*/ + /**鍙傛暟涓嶈兘涓虹┖*/ public static final String ERROR_PARAMETER_NULL = "203"; - /*鍙傛暟绫诲瀷閿欒*/ + /**鍙傛暟绫诲瀷閿欒*/ public static final String ERROR_PARAMETER_TYPE = "204"; - /*璁块棶鏃犳晥*/ + /**璁块棶鏃犳晥*/ public static final String ERROR_INVALID_VISIT = "205"; - /*璁块棶瓒呮椂*/ + /**璁块棶瓒呮椂*/ public static final String ERRO_VISIT_OVERTIMR = "667"; - /*body鏍煎紡閿欒*/ + /**body鏍煎紡閿欒*/ public static final String ERROR_BODY_DATA = "1008"; - /*绯荤粺寮傚父*/ + /**绯荤粺寮傚父*/ public static final String ERROR_SYSTEM = "999"; diff --git a/src/main/java/com/platform/verification/ApplicationTool.java b/src/main/java/com/platform/verification/ApplicationTool.java index 1d8c13e..eee9fb0 100644 --- a/src/main/java/com/platform/verification/ApplicationTool.java +++ b/src/main/java/com/platform/verification/ApplicationTool.java @@ -4,15 +4,8 @@ import com.alibaba.fastjson.JSONObject; import com.hx.redis.RedisUtil; import com.hx.redisson.config.RedissonUtil; -import com.hx.util.DateUtil; import com.hx.util.StringUtils; -import com.hx.util.rsa.RSAUtil; import com.platform.entity.ThirtApplication; -import com.platform.resultTool.PlatformCode; -import com.platform.resultTool.PlatformResult; - -import java.text.SimpleDateFormat; -import java.util.Date; /**搴旂敤杞寲 * @author CJH -- Gitblit v1.8.0