You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
778 B
36 lines
778 B
4 months ago
|
## 文档说明
|
||
|
|
||
|
##### 资源接口
|
||
|
|
||
|
resourcesController 资源上传 uploadFile / 下载 deleteResource / 预览 readFile
|
||
|
|
||
|
用minio 作为资源管理
|
||
|
|
||
|
minio 网址:http://39.106.16.162:9001/
|
||
|
用户名:minioadmin
|
||
|
密码:minioadmin
|
||
|
|
||
|
以日期分类 文件类型 文件名前10个(超出10)+yyyymmddhhmmss
|
||
|
|
||
|
yml 配置
|
||
|
|
||
|
```java
|
||
|
minio:
|
||
|
endpoint: http://39.106.16.162:9090 #MinIO服务所在地址
|
||
|
bucketName: teaching # 存储桶名称
|
||
|
accessKey: minioadmin # 访问的key
|
||
|
secretKey: minioadmin # 访问的秘钥
|
||
|
```
|
||
|
|
||
|
minioutils 工具类
|
||
|
|
||
|
> 逻辑就是,文件上传之后,存入图数据库,返回节点信息 , 删除文件 也得删除文件在图数据库的节点
|
||
|
|
||
|
##### 图数据库
|
||
|
|
||
|
http://39.106.16.162:7474/
|
||
|
|
||
|
用户名 neo4j
|
||
|
|
||
|
密码123456
|