@RequestMapping(path = "/batch-save", method = RequestMethod.POST) @SerializationFilter public Object batchSave(@RequestBody List<FriendshipSite> friendshipSites) { systemService.batchSaveFriendshipSites(friendshipSites); return Result.successResult("保存成功"); }
@RequestMapping(path = "/list", method = RequestMethod.GET) @SerializationFilter public Object list() { return Result.successResult(systemService.friendshipSiteList(), null); }