package com.template.api;

import com.template.model.result.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Api(tags = {"DingTalkControllerAPI"}, value = "钉钉发送消息")
@RequestMapping("/api/dingTalk")
public interface DingTalkControllerAPI {

    @GetMapping("/sendTextMsg")
    @ApiOperation(value = "测试发送文本消息", notes = "测试发送文本消息", httpMethod = "GET")
    CommonResult sendMessage();

    @GetMapping("/sendFeedCardMessage")
    @ApiOperation(value = "测试发送消息", notes = "测试发送消息", httpMethod = "GET")
    CommonResult sendFeedCardMessage();

    @GetMapping("/sendActionCardMessage")
    @ApiOperation(value = "测试发送卡片消息", notes = "测试发送卡片消息", httpMethod = "GET")
    CommonResult sendActionCardMessage();


}
