机器人返回图片路径修改

This commit is contained in:
2024-01-04 10:15:48 +08:00
parent dd5997fea6
commit 7c94bc4826

View File

@@ -323,9 +323,9 @@ public class ChatRobotServiceImpl implements ChatRobotService {
String folder = minioPath.substring(0,minioPath.lastIndexOf("/")); String folder = minioPath.substring(0,minioPath.lastIndexOf("/"));
if ("mens_test".equals(substring)){ if ("mens_test".equals(substring)){
switch (folder){ switch (folder){
case "bottom": // case "bottom":
minioPath = minioPath.replace("bottom","bottoms"); // minioPath = minioPath.replace("bottom","bottoms");
break; // break;
case "top": case "top":
minioPath = minioPath.replace("top","tops"); minioPath = minioPath.replace("top","tops");
break; break;