This commit is contained in:
杨建炊 2025-10-11 11:03:05 +08:00
parent 248d747604
commit 11685e1d36

View File

@ -9,18 +9,14 @@ import org.shop.crop.constant.GlobalConstants;
import org.shop.crop.dao.CropConfig;
import org.shop.crop.dao.CropFile;
import org.shop.crop.dao.CropMessage;
import org.shop.crop.dao.CropMessageSensitiveRecord;
import org.shop.crop.dto.BaseMessageDto;
import org.shop.crop.dto.ChatData;
import org.shop.crop.dto.MessagePullResponse;
import org.shop.crop.mapper.CropConfigMapper;
import org.shop.crop.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.core.io.ClassPathResource;
import org.springframework.transaction.TransactionDefinition;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.transaction.support.DefaultTransactionDefinition;
import org.springframework.util.StreamUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@ -60,7 +56,7 @@ public class CropController {
@GetMapping("/crop/chatData")
public List<CropMessage> chatData(Long startSeq, String corpId) throws IOException {
synchronized (SDK_LOCK) {
long limit = 10;
long limit = 50;
long slice = Finance.NewSlice();
long sdk = 0;