机器人返回图片数量修改
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user