From 0bf91738d54b72851f5a7f46916fe737d907574d Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期四, 31 三月 2022 17:18:43 +0800
Subject: [PATCH] 新增RSA的校验和生成签名方法

---
 src/main/java/com/hx/common/BaseController.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/hx/common/BaseController.java b/src/main/java/com/hx/common/BaseController.java
index 5c5a168..a6ddd46 100644
--- a/src/main/java/com/hx/common/BaseController.java
+++ b/src/main/java/com/hx/common/BaseController.java
@@ -1,5 +1,6 @@
 package com.hx.common;
 
+import com.hx.common.service.CommonService;
 import com.hx.exception.ParamException;
 import com.hx.exception.ServiceException;
 import org.springframework.beans.propertyeditors.CustomDateEditor;
@@ -9,6 +10,7 @@
 import org.springframework.web.context.request.ServletRequestAttributes;
 import org.springframework.web.context.request.WebRequest;
 
+import javax.annotation.Resource;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpSession;
 import java.text.DateFormat;
@@ -23,6 +25,8 @@
 
 public class BaseController {
 
+	@Resource
+	protected CommonService commonService;
 	/*璇蜂笉瑕佸0鏄庡彉閲忥紝浼氬鑷翠笉瀹夊叏锛屽洜涓鸿繖涓槸鍗曞垪*/
 
 	//鍙渶瑕佸姞涓婁笅闈㈣繖娈靛嵆鍙紝娉ㄦ剰涓嶈兘蹇樿娉ㄨВ

--
Gitblit v1.8.0