class WechatMessageData {

    /**
     * 抬头文字
     */
    private String first;

    /**
     * 备注文字
     */
    private String remark;

    /**
     * 消息内容
     */
    private List<String> messageData;
    /**
     * 小程序消息内容
     */
    private Map<String, String> mpMessageData;

    /**
     * kids
     */
    private List<String> kids;


    /**
     * 创建data数据
     *
     * @return
     */
    public Map<String, Map<String, String>> createData() {<FILL_FUNCTION_BODY>}


    /**
     * 创建data数据
     *
     * @return
     */
    public Map<String, Map<String, String>> createMPData() {

        LinkedHashMap<String, Map<String, String>> dataMap = new LinkedHashMap<>();

        for (String key : mpMessageData.keySet()) {
            dataMap.put(key, createValue(mpMessageData.get(key)));
        }
        return dataMap;
    }

    /**
     * 创建统一格式的map
     *
     * @param msg
     * @return
     */
    private Map<String, String> createValue(String msg) {
        Map<String, String> map = new HashMap<>(2);
        map.put("value", msg);
        return map;
    }


}


        Map<String, Map<String, String>> dataMap = new LinkedHashMap<>();

        //拼接开头
        dataMap.put("first", this.createValue(first));

        //拼接关键字
        for (int i = 0; i < messageData.size(); i++) {
            dataMap.put("keyword" + (i + 1), createValue(this.messageData.get(i)));
        }
        //拼接备注
        dataMap.put("remark", createValue(this.remark));

        return dataMap;
    
<no_super_class>