|
@@ -160,7 +160,10 @@ public class HouseManagerController extends BaseController{
|
|
String outPutImageName = System.currentTimeMillis() + ".jpg";
|
|
String outPutImageName = System.currentTimeMillis() + ".jpg";
|
|
String outPutImageResultPath = imageLocalPath + outPutImageName;
|
|
String outPutImageResultPath = imageLocalPath + outPutImageName;
|
|
try {
|
|
try {
|
|
- DataUtils.createQRCode(totalVrUrl , outPutImageResultPath , localPath);
|
|
|
|
|
|
+ if(!DataUtils.createQRCode(totalVrUrl , outPutImageResultPath , localPath)){
|
|
|
|
+ log.info("生成分享二维码失败");
|
|
|
|
+ return Result.failure("生成分享二维码失败");
|
|
|
|
+ }
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
log.info("生成分享二维码出现异常");
|
|
log.info("生成分享二维码出现异常");
|
|
@@ -216,7 +219,9 @@ public class HouseManagerController extends BaseController{
|
|
String outPutImageName = System.currentTimeMillis() + ".jpg";
|
|
String outPutImageName = System.currentTimeMillis() + ".jpg";
|
|
String outPutImageResultPath = imageLocalPath + outPutImageName;
|
|
String outPutImageResultPath = imageLocalPath + outPutImageName;
|
|
try {
|
|
try {
|
|
- DataUtils.createQRCode(totalVrUrl , outPutImageResultPath , downLoanVideoPath);
|
|
|
|
|
|
+ if(!DataUtils.createQRCode(totalVrUrl , outPutImageResultPath , downLoanVideoPath)){
|
|
|
|
+ return Result.failure("生成分享二维码失败");
|
|
|
|
+ }
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
log.info("生成分享二维码出现异常");
|
|
log.info("生成分享二维码出现异常");
|
|
@@ -289,7 +294,7 @@ public class HouseManagerController extends BaseController{
|
|
tmHouse.setEstateName(tmEstate.getEstateName());
|
|
tmHouse.setEstateName(tmEstate.getEstateName());
|
|
if(null != tokenMap){
|
|
if(null != tokenMap){
|
|
tmHouse.setCreateById(tokenMap.getId());
|
|
tmHouse.setCreateById(tokenMap.getId());
|
|
- tmHouse.setCreateByName(tokenMap.getUserName());
|
|
|
|
|
|
+ tmHouse.setCreateByName(tokenMap.getNickName());
|
|
}
|
|
}
|
|
tmHouse.setBelongCompanyId(tmEstate.getBelongCompanyId());
|
|
tmHouse.setBelongCompanyId(tmEstate.getBelongCompanyId());
|
|
tmHouse.setBelongCompanyName(tmEstate.getBelongCompanyName());
|
|
tmHouse.setBelongCompanyName(tmEstate.getBelongCompanyName());
|