package com.yonyougov.fbpm.modeler.controller;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.io.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.lang.model.element.Name;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.Objects;
/**
* @author liwenbo
* @Date 2019/12/11 19:15
* @Description
*/
@RestController
@RequestMapping("/api/proc/config/")
public class ConfigController {
@Value("classpath:static/config/admin-config.json")
private Resource adminConfig;
@Value("clas
springboot 读取静态json文件
最新推荐文章于 2024-06-14 14:45:25 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)