“xubinhui il y a 2 ans
Parent
commit
cb9d5b6c22

+ 1 - 1
src/main/java/com/izouma/nineth/service/DomainOrderService.java

@@ -690,7 +690,7 @@ public class DomainOrderService {
     }
 
 
-    public void addHyperLinkAndPublicCollcetionId(Long assetId, boolean openHyperLink, HyperLinkType hyperLinkType, String address,Long publicCollectionId) {
+    public void addId(Long assetId, boolean openHyperLink, HyperLinkType hyperLinkType, String address,Long publicCollectionId) {
         // 获取目标资产
         Asset asset = assetRepo.findByIdAndStatus(assetId, AssetStatus.NORMAL)
                                .orElseThrow(() -> new BusinessException("未找到具有指定ID的正常状态资产"));

+ 1 - 1
src/main/java/com/izouma/nineth/web/DomainOrderController.java

@@ -139,7 +139,7 @@ public class DomainOrderController extends BaseController {
                                    @RequestParam("hyperLinkType") HyperLinkType hyperLinkType,
                                    @RequestParam("address") String address,
                                    @RequestParam("publicCollectionId") Long publicCollectionId) {
-        domainOrderService.addHyperLinkAndPublicCollcetionId(assetId, openHyperLink, hyperLinkType, address, publicCollectionId);
+        domainOrderService.addId(assetId, openHyperLink, hyperLinkType, address, publicCollectionId);
 
     }