update
This commit is contained in:
parent
b693354748
commit
2c7d7a5d2d
@ -23,6 +23,7 @@ public class QRCServiceImpl implements QRCService{
|
|||||||
private CollectIconListDao collectIconListDao;
|
private CollectIconListDao collectIconListDao;
|
||||||
|
|
||||||
public String QR(Integer url_id) throws Exception {
|
public String QR(Integer url_id) throws Exception {
|
||||||
|
if(url_id!=null){
|
||||||
String logoPath = "src/main/resources/static/logo/NAV.png";
|
String logoPath = "src/main/resources/static/logo/NAV.png";
|
||||||
String destPath = "src/main/resources/static/qr";
|
String destPath = "src/main/resources/static/qr";
|
||||||
UrlList urlList = urlListDao.selectByPrimaryKey(Long.valueOf(url_id));
|
UrlList urlList = urlListDao.selectByPrimaryKey(Long.valueOf(url_id));
|
||||||
@ -40,6 +41,10 @@ public class QRCServiceImpl implements QRCService{
|
|||||||
}else {
|
}else {
|
||||||
return JSON.toJSONString(collectIconListDao.selectByUrlid(url_id));
|
return JSON.toJSONString(collectIconListDao.selectByUrlid(url_id));
|
||||||
}
|
}
|
||||||
|
}else{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
//// 通过collect的url_id查找网址id对应网址
|
//// 通过collect的url_id查找网址id对应网址
|
||||||
// UrlList urlList = urlListDao.selectByPrimaryKey(Long.valueOf(collect.getUrl_id()));
|
// UrlList urlList = urlListDao.selectByPrimaryKey(Long.valueOf(collect.getUrl_id()));
|
||||||
|
Loading…
Reference in New Issue
Block a user