From 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 26 四月 2024 18:02:17 +0800
Subject: [PATCH] 唯品会链接解析升级

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgConfigService.java |   95 ++++++++++++++++++++++++++++-------------------
 1 files changed, 57 insertions(+), 38 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgConfigService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgConfigService.java
index 390dbee..10d3047 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgConfigService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/MsgConfigService.java
@@ -1,38 +1,57 @@
-package com.yeshi.fanli.service.inter.msg;
-
-import com.yeshi.fanli.dto.msg.MsgCommonDTO;
-import com.yeshi.fanli.exception.ConfigException;
-
-public interface MsgConfigService {
-
-	public String KEY_ZHUSHOU = "msg-config-zhushou";
-	public String KEY_GUANXUAN = "msg-config-guanxuan";
-
-	/**
-	 * 娣诲姞灏忓姪鎵嬫秷鎭�
-	 * 
-	 * @param dto
-	 */
-	public void addZhuShouMsg(MsgCommonDTO dto) throws ConfigException;
-
-	/**
-	 * 娣诲姞瀹樺浠诲姟
-	 * 
-	 * @param dto
-	 */
-	public void addGuanXuanMsg(MsgCommonDTO dto) throws ConfigException;
-
-	/**
-	 * 鑾峰彇鍔╂墜娑堟伅
-	 * 
-	 * @return
-	 */
-	public MsgCommonDTO getZhuShouMsg();
-
-	/**
-	 * 鑾峰彇瀹樺娑堟伅
-	 * 
-	 * @return
-	 */
-	public MsgCommonDTO getGuanXuanMsg();
-}
+package com.yeshi.fanli.service.inter.msg;
+
+import com.yeshi.fanli.dto.msg.MsgCommonDTO;
+import com.yeshi.fanli.entity.SystemEnum;
+import com.yeshi.fanli.entity.system.ConfigKeyEnum;
+import com.yeshi.fanli.exception.config.ConfigException;
+
+public interface MsgConfigService {
+
+	public String KEY_ZHUSHOU = ConfigKeyEnum.msgConfigZhushou.getKey();
+	public String KEY_GUANXUAN = ConfigKeyEnum.msgConfigGuanxuan.getKey();
+	public String KEY_NOTIFY = ConfigKeyEnum.msgConfigNotify.getKey();
+
+	/**
+	 * 娣诲姞灏忓姪鎵嬫秷鎭�
+	 * 
+	 * @param dto
+	 */
+	public void addZhuShouMsg(MsgCommonDTO dto, SystemEnum systemEnum) throws ConfigException;
+
+	/**
+	 * 娣诲姞瀹樺浠诲姟
+	 * 
+	 * @param dto
+	 */
+	public void addGuanXuanMsg(MsgCommonDTO dto, SystemEnum systemEnum) throws ConfigException;
+
+	/**
+	 * 娣诲姞閫氱煡澶у浘娑堟伅
+	 * 
+	 * @param dto
+	 * @throws ConfigException
+	 */
+	public void addNotifyMsg(MsgCommonDTO dto, SystemEnum systemEnum) throws ConfigException;
+
+	/**
+	 * 鑾峰彇鍔╂墜娑堟伅
+	 * 
+	 * @return
+	 */
+	public MsgCommonDTO getZhuShouMsg(SystemEnum systemEnum);
+
+	/**
+	 * 鑾峰彇瀹樺娑堟伅
+	 * 
+	 * @return
+	 */
+	public MsgCommonDTO getGuanXuanMsg( SystemEnum systemEnum);
+
+	/**
+	 * 鑾峰彇閫氱煡澶у浘娑堟伅
+	 * 
+	 * @return
+	 */
+	public MsgCommonDTO getNotifyMsg(SystemEnum systemEnum);
+
+}

--
Gitblit v1.8.0