腾讯COS图片路径缺少符号
This commit is contained in:
parent
26c1c97442
commit
b189fbe238
@ -65,7 +65,7 @@ public class TencentFilePlugin implements FilePlugin {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private String getUrlPrefix() {
|
private String getUrlPrefix() {
|
||||||
return "https://" + ossSetting.getTencentCOSBucket() + ".cos" + ossSetting.getTencentCOSRegion() + ".myqcloud.com/";
|
return "https://" + ossSetting.getTencentCOSBucket() + ".cos." + ossSetting.getTencentCOSRegion() + ".myqcloud.com/";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -239,7 +239,7 @@ public class GoodsImportServiceImpl implements GoodsImportService {
|
|||||||
|
|
||||||
//获取父
|
//获取父
|
||||||
Category parentCategory = categoryService.getCategoryById(goodsImportDTO.getCategory().getParentId());
|
Category parentCategory = categoryService.getCategoryById(goodsImportDTO.getCategory().getParentId());
|
||||||
goodsOperationDTO.setCategoryPath(parentCategory.getParentId() + "," + parentCategory.getId() + "," + goodsImportDTO.getCategory().getParentId());
|
goodsOperationDTO.setCategoryPath(parentCategory.getParentId() + "," + parentCategory.getId() + "," + goodsImportDTO.getCategory().getId());
|
||||||
//添加商品
|
//添加商品
|
||||||
goodsService.addGoods(goodsOperationDTO);
|
goodsService.addGoods(goodsOperationDTO);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user