首页展示用户公开网站
This commit is contained in:
@@ -14,4 +14,7 @@ public interface UrlCateListService {
|
||||
public String countCateContainUrlNumber(String userId);
|
||||
|
||||
public JSONArray getUrl(String userId);
|
||||
public String selectUrListCateByUrlCateId(Integer cateId);
|
||||
public UrlCateList selectByPrimaryKey(Integer id);
|
||||
|
||||
}
|
||||
|
@@ -13,5 +13,5 @@ public interface UrlListService {
|
||||
|
||||
public int updateUrlStatusListById(UrlList urlList);
|
||||
|
||||
|
||||
public List<UrlList> selectUrListByNeedLogin();
|
||||
}
|
||||
|
@@ -58,7 +58,14 @@ public class UrlCateListServiceImpl implements UrlCateListService {
|
||||
return urlCateListDao.selectUrListByUserId(userId);
|
||||
}
|
||||
|
||||
public String selectUrListCateByUrlCateId(Integer cateId){
|
||||
return urlCateListDao.selectUrListCateByUrlCateId(cateId);
|
||||
}
|
||||
|
||||
public UrlCateList selectByPrimaryKey(Integer id)
|
||||
{
|
||||
return urlCateListDao.selectByPrimaryKey(id);
|
||||
}
|
||||
|
||||
public String countCateContainUrlNumber(String email){
|
||||
User user = userDao.selectByEmail(email);
|
||||
|
@@ -49,6 +49,13 @@ public class UrlLiserServiceImpl implements UrlListService {
|
||||
return urlListDao.selectUrList();
|
||||
}
|
||||
|
||||
|
||||
public List<UrlList> selectUrListByNeedLogin(){
|
||||
return urlListDao.selectUrListByNeedLogin();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public UrlList selectUrListByInput(String input)
|
||||
{
|
||||
return urlListDao.selectUrListByInput(input);
|
||||
|
Reference in New Issue
Block a user