类 SendButtonRestController


  • @RestController
    @RequestMapping(value="/vue/sendButton",
                    produces="application/json")
    public class SendButtonRestController
    extends Object
    作者:
    qinman, zhangchongjie
    Date:
    2022/12/20
    • 构造器详细资料

      • SendButtonRestController

        public SendButtonRestController()
    • 方法详细资料

      • checkCustomId

        @GetMapping("/checkCustomId")
        public net.risesoft.pojo.Y9Result<Boolean> checkCustomId​(@RequestParam
                                                                 String customId)
        判断customId是否已经存在
        参数:
        customId - 定义key
        返回:
      • getSendButton

        @GetMapping("/getSendButton")
        public net.risesoft.pojo.Y9Result<SendButton> getSendButton​(@RequestParam
                                                                    String id)
        获取发送按钮
        参数:
        id - 按钮id
        返回:
      • getSendButtonList

        @GetMapping("/getSendButtonList")
        public net.risesoft.pojo.Y9Result<List<SendButton>> getSendButtonList()
        获取发送按钮列表
        返回:
      • removeSendButtons

        @PostMapping("/removeSendButtons")
        public net.risesoft.pojo.Y9Result<String> removeSendButtons​(@RequestParam
                                                                    String[] sendButtonIds)
        删除按钮
        参数:
        sendButtonIds - 按钮id
        返回:
      • saveOrUpdate

        @PostMapping("/saveOrUpdate")
        public net.risesoft.pojo.Y9Result<String> saveOrUpdate​(SendButton sendButton)
        保存发送按钮
        参数:
        sendButton - 按钮信息
        返回: