package com.energy.manage.service.controller.system;

import com.alibaba.fastjson.JSON;
import com.energy.manage.service.service.kafka.producer.KafkaSendService;
import com.energy.manage.service.service.system.SysRolePermissionService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.kafka.support.Acknowledgment;
import org.springframework.kafka.support.KafkaHeaders;
import org.springframework.messaging.handler.annotation.Header;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Iterator;
import java.util.List;
import java.util.Optional;

/**
 * 角色资源关联表
 *
 * @author sy
 * @date 2021-10-18 13:32:05
 */
@Slf4j
@RestController
@RequestMapping("sysrolepermission")
@CrossOrigin
public class SysRolePermissionController {
	@Autowired
	private SysRolePermissionService sysRolePermissionService;













}
