更新notice

This commit is contained in:
sjm 2023-12-28 14:36:15 +08:00
parent 0804aa5e0f
commit 413b528175
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ public class UrlListController {
}
@RequestMapping("/admin/weblist/update")
public HashMap<String, Object> Update(@RequestBody UrlList urlList){
public HashMap<String, Object> Update(UrlList urlList){
int x = urlListService.update(urlList);
HashMap<String, Object> result = new HashMap<>();
if(x == 1){

View File

@ -109,6 +109,6 @@ public class UrlLiserServiceImpl implements UrlListService {
public List<UrlList> latestEight(){return urlListDao.latestEight(); }
public int update(UrlList urlList){return urlListDao.updateByPrimaryKey(urlList);}
public int update(UrlList urlList){return urlListDao.updateByPrimaryKeySelective(urlList);}
}