package com.pcloud.book.riddle;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @描述：猜谜语接口
 * @作者：zhuyajie
 * @创建时间：16:24 2019/8/5
 * @版本：1.0
 */
@FeignClient(value = "pcloud-service-book", qualifiers = "riddleServiceCloud", path = "book/v1.0/riddleService")
@Api(description = "猜谜语接口")
public interface RiddleService {

    @ApiOperation(value = "定时器调用游戏结束接口", httpMethod = "POST")
    @RequestMapping(value = "/riddleEndQuartz", method = RequestMethod.POST)
    public void riddleEndQuartz(@RequestBody Map<String, Object> map);
}
