|
@@ -138,7 +138,7 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
|
|
|
}
|
|
|
String localPath = String.format(FilePath.LOCAL_QRCODE_PATH, roomId);
|
|
|
String ossPath = String.format(FilePath.OSS_QRCODE_PATH, roomId);
|
|
|
- wxService.getWxQRCode("roomId="+roomId,String.format(FilePath.LOCAL_QRCODE_PATH,roomId),0);
|
|
|
+ wxService.getWxQRCode("roomId="+roomId,localPath,0);
|
|
|
if(!new File(localPath).exists()){
|
|
|
throw new BusinessException(ResultCode.QRCODE_MISS);
|
|
|
}
|