From c8b52a0878fc2848a8ce362b0ab976983df43476 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期四, 21 十二月 2023 14:34:40 +0800 Subject: [PATCH] 1、原SsoAop进行登录验证有鉴权,现改为只验证登录,不做鉴权,相应SsoCtrl中增加只鉴权的方法 2、优化通信中间件代码、common模块中协议代码、 --- pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/unlock/UnlockSv.java | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/unlock/UnlockSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/unlock/UnlockSv.java index c048c3e..85d1754 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/unlock/UnlockSv.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/unlock/UnlockSv.java @@ -2,7 +2,8 @@ import com.dy.common.webUtil.QueryResultVo; import com.dy.pipIrrGlobal.daoSe.SeUnlockMapper; -import com.dy.pipIrrGlobal.pojoSe.VoUnlock; +import com.dy.pipIrrGlobal.pojoSe.SeUnlock; +import com.dy.pipIrrGlobal.voSe.VoUnlock; import lombok.extern.slf4j.Slf4j; import org.apache.dubbo.common.utils.PojoUtils; import org.springframework.beans.factory.annotation.Autowired; @@ -53,4 +54,14 @@ rsVo.obj = seUnlockMapper.getUnlocks(params); return rsVo ; } + + /** + * 娣诲姞瑙i攣璁板綍 + * @param po + * @return + */ + public Long add(SeUnlock po) { + seUnlockMapper.insert(po); + return po.getId(); + } } -- Gitblit v1.8.0