4 Commits
Author SHA1 Message Date
hello-hao fb9f2a896e 📝 2024-01-03 14:00:17 +08:00
hello-hao 9ca8695cfd 📝 2024-01-03 13:59:15 +08:00
hellohao 33d4990ded 更新文档 2024-01-02 23:39:13 +08:00
hello-hao 679ada60bc feat:添加强制删除,优化七牛云对接 2024-01-02 17:33:01 +08:00
4 changed files with 16 additions and 13 deletions
-6
View File
@@ -1,6 +0,0 @@
*.js linguist-language=java
*.css linguist-language=java
*.html linguist-language=java
+11 -3
View File
@@ -4,7 +4,7 @@
![Visual Studio Marketplace Rating (Stars)](https://img.shields.io/visual-studio-marketplace/stars/ritwickdey.LiveServer?style=flat-square)
![https://img.shields.io/badge/license-AGPL-blue.svg?style=flat-square](https://img.shields.io/badge/license-AGPL-blue.svg?longCache=true&style=flat-square)
![https://img.shields.io/badge/license-AGPL-blue.svg?style=flat-square](https://img.shields.io/badge/license-AGPL-blue.svg?longCache=true&style=flat-square)
![https://img.shields.io/badge/language-java-orange.svg?style=flat-square](https://img.shields.io/badge/language-java-yellow.svg?longCache=true&style=popout-square)
>:exclamation: 托管的所有开源代码可能存在作者修改/测试/调整等行为,均为实验性代码,故并不保证程序或功能的可用性,如果你想要部署程序,请下载我们提供的编译整合包进行安装部署。
@@ -28,9 +28,17 @@
[Core版](https://hellohao.cn):开源版的基础上增加`Backblaze(B2)` 并且可`同个对象存储商家`可开多个存储源(可添加至90+存储源)
### 更新日志 `20230925`
### 更新日志 `20240102`
- 修复一些sql异常错误的问题
- 重构:相册页面UI显示效果
- 新增:相册页支持拖拽移动目录并支持了目录相互移动
- 新增:删除功能新增了强制删除选项
- 优化:大图片上传逻辑判断及展示效果
- 调整:用户个人信息失效时间,提高用户体验
- 调整:去除前端浏览器控制台输出Slogan
- 优化:七牛云存储源兼容了新地区的对接
- 优化:用户体验操作或提示
- 优化:系统处理图片的逻辑
[^_^]: 程序宣传视频:[自制宣传视频](https://www.bilibili.com/video/BV11r4y1y7mH/)
@@ -44,7 +44,7 @@ public class IndexController {
@Autowired private IRedisService iRedisService;
@Autowired private AppClientService appClientService;
public static String version = "20230925";
public static String version = "20240102";
@RequestMapping(value = "/")
public String Welcome(Model model, HttpServletRequest httpServletRequest) {
model.addAttribute("name", "服务端程序(开源版)");
@@ -65,6 +65,7 @@ public class IndexController {
JSONObject jsonObject = new JSONObject();
AppClient appClient = appClientService.getAppClientData("app");
jsonObject.put("webname", cd.getString("webname"));
jsonObject.put("systype","free");
jsonObject.put("version",version);
jsonObject.put("websubtitle", cd.getString("websubtitle"));
jsonObject.put("keywords", cd.getString("keywords"));
@@ -85,7 +86,7 @@ public class IndexController {
msg.setData(jsonObject);
return msg;
}
@PostMapping("/uploadChunkFile")
@PostMapping(value = {"/uploadChunkFile","/client/uploadChunkFile"})
@ResponseBody
@CrossOrigin
public Msg uploadChunk(HttpServletRequest request,Chunk chunk) {
@@ -108,7 +109,7 @@ public class IndexController {
}
}
@PostMapping("/processFile")
@PostMapping(value = {"/processFile","/client/processFile"})
@ResponseBody
@CrossOrigin
public Msg processFile(HttpServletRequest request,@RequestParam(value = "data", defaultValue = "") String data){
@@ -44,7 +44,7 @@ public class deleImages {
boolean isDele = false;
try {
Images image = imgService.selectByPrimaryKey(imgIds[i]);
if (!forceDel) {
if (forceDel) {
try {
imgAndAlbumService.deleteImgAndAlbum(image.getImgurl());
imgTempService.delImgAndExp(image.getImguid());