QRC
This commit is contained in:
@@ -55,12 +55,6 @@ public class QRCServiceImpl implements QRCService{
|
|||||||
String base64 = QRCodeUtil.ImageToBase64(url_wait);
|
String base64 = QRCodeUtil.ImageToBase64(url_wait);
|
||||||
return JSON.toJSONString(base64);
|
return JSON.toJSONString(base64);
|
||||||
}
|
}
|
||||||
else{
|
|
||||||
HashMap<String,Object> result = new HashMap<>();
|
|
||||||
result.put("code",500);
|
|
||||||
result.put("msg", "找不到对应网址");
|
|
||||||
return JSON.toJSONString(result);
|
|
||||||
}
|
|
||||||
}else{
|
}else{
|
||||||
String url_wait = list.get(0).getQr_url();
|
String url_wait = list.get(0).getQr_url();
|
||||||
String base64 = QRCodeUtil.ImageToBase64(url_wait);
|
String base64 = QRCodeUtil.ImageToBase64(url_wait);
|
||||||
|
Reference in New Issue
Block a user