Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
shahaibo
2024-01-04 13:57:32 +08:00

View File

@@ -190,10 +190,11 @@ public class ChatRobotServiceImpl implements ChatRobotService {
} else {
chatRobot.setSuccessful(1);
chatRobotMapper.insert(chatRobot);
for (int i = 0; i < array.size(); i++) {
if (i >= 3) {
continue;
}
int size = Math.min(array.size(), 4);
for (int i = 0; i < size; i++) {
// if (i >= 3) {
// continue;
// }
ChatRobotLibraryVO chatRobotLibraryVO = new ChatRobotLibraryVO();
String bucketName = sysImage;
String prefix = getPrefix(array.getString(i),chatSendDTO.getGender());