dingxin 6 years ago
parent
commit
5a4c238343

+ 1
- 1
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/TpActivityServiceImpl.java View File

@@ -237,7 +237,7 @@ public class TpActivityServiceImpl extends ServiceImpl<TpActivityMapper, TpActiv
237 237
 
238 238
                 if (radio==1){
239 239
                     try {
240
-                       InputStream inputStream= QRCode.encode(tpActivity.getId()+"");
240
+                       InputStream inputStream= QRCode.encode(qrCodePerproties.getUrl(),tpActivity.getId()+"");
241 241
                         String codeUrl= imageServiceI.getImageUrl(inputStream);
242 242
                         TdImages tdImages= new TdImages();
243 243
                         tdImages.setImageUrl(codeUrl);

+ 1
- 1
VUECODE/smart-property-manage/src/views/social/activity/info/index.vue View File

@@ -42,7 +42,7 @@
42 42
 </template>
43 43
 
44 44
 <script>
45
-
45
+import html2canvas from 'html2canvas';
46 46
 export default {
47 47
   name: 'Index',
48 48
   data() {