From 6b711396166ce1a90bffe4d97801557a8de199e7 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 22 八月 2022 16:47:01 +0800 Subject: [PATCH] 优化 --- phi-sms-feign/src/main/java/com/hz/sms/dto/MpTemplateMsg.java | 75 ++++++++----------------------------- 1 files changed, 16 insertions(+), 59 deletions(-) diff --git a/phi-sms-feign/src/main/java/com/hz/sms/dto/MpTemplateMsg.java b/phi-sms-feign/src/main/java/com/hz/sms/dto/MpTemplateMsg.java index a1a29d1..8506b8b 100644 --- a/phi-sms-feign/src/main/java/com/hz/sms/dto/MpTemplateMsg.java +++ b/phi-sms-feign/src/main/java/com/hz/sms/dto/MpTemplateMsg.java @@ -1,66 +1,23 @@ package com.hz.sms.dto; +import com.hz.sms.dto.entity.Miniprogram; +import lombok.Data; +import java.util.Map; +/** + * 鍙傛暟鐢ㄤ簬涓嬪彂灏忕▼搴忓拰鍏紬鍙风粺涓�鐨勬湇鍔℃秷鎭� (鍙傛暟瀹炰綋)锛屽瓙妯″潡 + */ +@Data public class MpTemplateMsg { - //鍏紬鍙穉ppid锛岃姹備笌灏忕▼搴忔湁缁戝畾涓斿悓涓讳綋 - private String appid; - //鍏紬鍙锋ā鏉縤d - private String template_id; - //鍏紬鍙锋ā鏉挎秷鎭墍瑕佽烦杞殑url + /**鍏紬鍙穉ppid锛岃姹備笌灏忕▼搴忔湁缁戝畾涓斿悓涓讳綋 - Y*/ + private String appId; + /**鍏紬鍙锋ā鏉縤d - Y*/ + private String templateId; + /**鍏紬鍙锋ā鏉挎秷鎭墍瑕佽烦杞殑url - N*/ private String url; - //鍏紬鍙锋ā鏉挎秷鎭墍瑕佽烦杞殑灏忕▼搴忥紝灏忕▼搴忕殑蹇呴』涓庡叕浼楀彿鍏锋湁缁戝畾鍏崇郴 - private String miniprogram; - //鍏紬鍙锋ā鏉挎秷鎭殑鏁版嵁 - private String data; + /**鍏紬鍙锋ā鏉挎秷鎭墍瑕佽烦杞殑灏忕▼搴忥紝灏忕▼搴忕殑蹇呴』涓庡叕浼楀彿鍏锋湁缁戝畾鍏崇郴 - N*/ + private Miniprogram minIProgram; + /**鍏紬鍙锋ā鏉挎秷鎭殑鏁版嵁 - Y*/ + private Map<String, Keyword> data; - public String getAppid() { - return appid; - } - - public void setAppid(String appid) { - this.appid = appid; - } - - public String getTemplate_id() { - return template_id; - } - - public void setTemplate_id(String template_id) { - this.template_id = template_id; - } - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } - - public String getMiniprogram() { - return miniprogram; - } - - public void setMiniprogram(String miniprogram) { - this.miniprogram = miniprogram; - } - - public String getData() { - return data; - } - - public void setData(String data) { - this.data = data; - } - - @Override - public String toString() { - return "MpTemplateMsg{" + - "appid='" + appid + '\'' + - ", template_id='" + template_id + '\'' + - ", url='" + url + '\'' + - ", miniprogram='" + miniprogram + '\'' + - ", data='" + data + '\'' + - '}'; - } } -- Gitblit v1.8.0