Merge branch 'dev/dev_xp' into dev/dev
This commit is contained in:
@@ -234,8 +234,8 @@ public class LLMServiceImpl implements LLMService {
|
||||
|
||||
executor.submit(() -> {
|
||||
try {
|
||||
// boolean validate = jwtTokenHelper.validateToken(token);
|
||||
boolean validate = true;
|
||||
boolean validate = jwtTokenHelper.validateToken(token);
|
||||
// boolean validate = true;
|
||||
if (validate) {
|
||||
AuthPrincipalVo principal = jwtTokenHelper.parserToUser(token);
|
||||
Long accountId = principal.getId();
|
||||
@@ -405,9 +405,11 @@ public class LLMServiceImpl implements LLMService {
|
||||
sketchList.forEach(sketch -> {
|
||||
ReceiveCollectionElement receiveCollectionElement = new ReceiveCollectionElement();
|
||||
String path = sketch.toString().replace("\\", "/");
|
||||
receiveCollectionElement.setUrl(path);
|
||||
String minioPath = sysImage + "/images" + path;
|
||||
receiveCollectionElement.setUrl(minioPath);
|
||||
receiveCollectionElement.setLevel1Type(CollectionLevel1TypeEnum.SKETCH_BOARD.getRealName());
|
||||
receiveCollectionElement.setMinioUrl(minioUtil.getPreSignedUrl(sysImage + "/images" + path, CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
|
||||
receiveCollectionElement.setLevel2Type(path.split("/")[2]);
|
||||
receiveCollectionElement.setMinioUrl(minioUtil.getPreSignedUrl(minioPath, CommonConstant.MINIO_IMAGE_EXPIRE_TIME));
|
||||
dataList.add(receiveCollectionElement);
|
||||
});
|
||||
ReceiveDesignParam receiveDesignParam = new ReceiveDesignParam();
|
||||
|
||||
Reference in New Issue
Block a user