Commit 0f759ea3 authored by zhouxudong's avatar zhouxudong

处理bug

parent 8b4c148b
...@@ -31,7 +31,7 @@ public enum SendMsgTypeEnum { ...@@ -31,7 +31,7 @@ public enum SendMsgTypeEnum {
public static String getName(Integer code) { public static String getName(Integer code) {
for (SendMsgTypeEnum bt : values()) { for (SendMsgTypeEnum bt : values()) {
if (bt.code.equals(code)) { if (bt.code.equals(code)) {
return bt.templateId; return bt.name;
} }
} }
return null; return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment