首页展示用户公开网站

This commit is contained in:
cyk
2023-12-23 16:08:18 +08:00
parent 165170af97
commit b8b2e03585
9 changed files with 136 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -13,5 +13,5 @@ public interface UrlListService {
public int updateUrlStatusListById(UrlList urlList);
public List<UrlList> selectUrListByNeedLogin();
}

View File

@@ -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);

View File

@@ -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);