<#include 'public/template/editTemplate.html'> <#macro editContent>
<#if Application['system.language']=='zh_CN'> <@i18n 'pushCenter_setting_sourceDoc'/> <#else> <@i18n 'pushCenter_setting_sourceDoc'/>
package com.example.demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONObject;

@Controller
@RequestMapping(value = "/other")
public class ReceiveController {

    private final Logger logger = LoggerFactory.getLogger(ReceiveController.class);

    @RequestMapping(value = "/receive")
    @ResponseBody
    public String receive(@RequestBody JSONObject requestBody) {
        logger.info("receive requestBody = {}", requestBody);
        return "200";
    }
}
<#macro buttonContent>