实现接口:GET /api/file_info这个接口可以读取任何想要的文件参数说明:filePath 读取的⽂件路径接口说明:调⽤系统库读取⽂件,并将⽂件中的数据返回接口数据格式为json返回的数据格式为{filePath:String,data:String}
求会的大佬附上代码!谢谢!
https://blog.csdn.net/chencl1986/article/details/88070164