From 15ab196977489471fc747d898ebe0cb9ece5cab7 Mon Sep 17 00:00:00 2001 From: 童刚 <pBP8jclM@8yTJ@4h> Date: 星期五, 12 八月 2022 18:00:03 +0800 Subject: [PATCH] 1. 修改属性参数(驼峰命名) --- phi-sms-feign/src/main/java/com/hz/sms/dto/MpTemplateMsg.java | 62 ++++--------------------------- 1 files changed, 8 insertions(+), 54 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..5042ab3 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,20 @@ package com.hz.sms.dto; +import lombok.Data; +import java.util.Map; + +@Data public class MpTemplateMsg { //鍏紬鍙穉ppid锛岃姹備笌灏忕▼搴忔湁缁戝畾涓斿悓涓讳綋 - private String appid; + private String appId; //鍏紬鍙锋ā鏉縤d - private String template_id; + private String templateId; //鍏紬鍙锋ā鏉挎秷鎭墍瑕佽烦杞殑url private String url; //鍏紬鍙锋ā鏉挎秷鎭墍瑕佽烦杞殑灏忕▼搴忥紝灏忕▼搴忕殑蹇呴』涓庡叕浼楀彿鍏锋湁缁戝畾鍏崇郴 - private String miniprogram; + private String minIProgram; //鍏紬鍙锋ā鏉挎秷鎭殑鏁版嵁 - private String data; + 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