消息发送调整
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.cool.store.enums;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @FileName: MessageTypeEnum
|
||||
@@ -47,4 +49,13 @@ public enum MessageTypeEnum {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public JSONObject getMessageTypeObject() {
|
||||
JSONObject object = new JSONObject();
|
||||
object.put("code", this.code);
|
||||
object.put("name", this.name);
|
||||
object.put("imageMediaId", this.imageMediaId);
|
||||
return object;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user