Browse Source

设备码生成

LuoDLeo 2 months ago
parent
commit
a216ddb05a

+ 1 - 1
src/main/java/org/springblade/modules/api/controller/ApiFacilityController.java

@@ -151,7 +151,7 @@ public class ApiFacilityController extends BaseController {
             });
 
             pages.getRecords().forEach(facilityVO -> {
-                facilityVO.setQrCode(domainUrl + "?qrcode=" + facilityVO.getId());
+                facilityVO.setQrCode(domainUrl + "?deviceId=" + facilityVO.getId());
             });
         }
 

+ 1 - 1
src/main/java/org/springblade/modules/business/controller/FacilityController.java

@@ -86,7 +86,7 @@ public class FacilityController extends BladeController {
         IPage<FacilityVO> facilityVOIPage = FacilityWrapper.build().pageVO(pages);
         if (CollectionUtil.isNotEmpty(facilityVOIPage.getRecords())){
             facilityVOIPage.getRecords().forEach(facilityVO -> {
-                facilityVO.setQrCode(domainUrl + "?qrcode=" + facilityVO.getId());
+                facilityVO.setQrCode(domainUrl + "?deviceId=" + facilityVO.getId());
             });
 		}
 		return R.data(facilityVOIPage);