Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular file manager api ng6文件管理器&x27;行不通_Angular_File_Npm - Fatal编程技术网

Angular file manager api ng6文件管理器&x27;行不通

Angular file manager api ng6文件管理器&x27;行不通,angular,file,npm,Angular,File,Npm,我已经下载了api,但是我不能理解parentpath的系统。我尝试使用postman调用api(), 但它不起作用。 根目录下有一个“files”文件夹,API的根目录就是从这里开始的吗?我把一个填好的文件夹放在名为“back”的文件夹中。 我已经试着让它工作了3个小时,但我不明白,你能帮我吗?我找到了解决方案: 我们需要删除github示例中的“/file”部分:localhost:8080/api/file/download?parentPath=/folder1/someFile.txt

我已经下载了api,但是我不能理解parentpath的系统。我尝试使用postman调用api(), 但它不起作用。 根目录下有一个“files”文件夹,API的根目录就是从这里开始的吗?我把一个填好的文件夹放在名为“back”的文件夹中。 我已经试着让它工作了3个小时,但我不明白,你能帮我吗?

我找到了解决方案:

我们需要删除github示例中的“/file”部分:localhost:8080/api/file/download?parentPath=/folder1/someFile.txt

删除“/file/”以创建此链接: localhost:8080/api/download?parentPath=/folder1/someFile.txt

所有这些都是有效的,您应该放置与github教程中相同的链接,人们可能不理解

app.get('/api/list'到app.get('/api/file/list'

我找到了解决方案:

我们需要删除github示例中的“/file”部分:localhost:8080/api/file/download?parentPath=/folder1/someFile.txt

删除“/file/”以创建此链接: localhost:8080/api/download?parentPath=/folder1/someFile.txt

所有这些都是有效的,您应该放置与github教程中相同的链接,人们可能不理解


app.get(“/api/list”到app.get(“/api/file/list”

您好,目前我正忙于学校和另一个项目的工作。同时,我正在更新FM和删除ngrx/store,以便我们可以使用AOT。我希望我最快会在7月5日回复您。没问题,谢谢您创建此hello,目前我正忙于学校和另一个项目的工作。同时,我也在处理其他项目正在更新FM并删除ngrx/store,以便我们可以与AOT合作。我希望我最快会在7月5日回复您。没问题,谢谢您创建此功能