package org.jeecg.api.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.api.service.AppletConfigService;
import org.jeecg.common.api.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(tags="公共配置接口")
@RestController
@RequestMapping("/conf")
@Slf4j
public class AppletConfigController {

    @Resource
    private AppletConfigService appletConfigService;


    //获取平台基础配置
    @ApiOperation(value="获取平台基础配置", notes="获取平台基础配置")
    @GetMapping("/getConfig")
    public Result<?> getConfig(){
        return appletConfigService.getConfig();
    }







}
