package com.hotent.base.controller;

import com.hotent.base.aop.OpenApiProcessor;
import com.hotent.base.entity.URIEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.Set;

/**
 * 通用请求控制器
 * @author liangjc
 * @company 广州宏天软件股份有限公司
 * @email liangjc@jee-soft.cn
 * @date 2022-05-30 09:13
 */
@RestController
@RequestMapping("/base/common/")
public class BaseCommonController{

    @RequestMapping(value = "getMicroURIEntity", method = RequestMethod.GET, produces = {"application/json; charset=utf-8"})
    public Set<URIEntity> getMicroURIEntity(){
        return OpenApiProcessor.uriEntitySet;
    }

}
