You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
585 B
20 lines
585 B
package club.service;
|
|
|
|
import club.pojo.Comment;
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
import java.util.List;
|
|
|
|
import club.pojo.Comment;
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
public interface CommentService {
|
|
PageInfo<Comment> allComment(String userName,Integer pn,Integer pageSize);
|
|
List<Comment> petComments(Integer petId);
|
|
Integer create(Integer userId, Integer petId, String content);
|
|
Comment findById(Integer id);
|
|
PageInfo<Comment> all(String userName, Integer pageNum, Integer pageSize);
|
|
int update(Comment adoptAnimal);
|
|
int delete(Integer id);
|
|
}
|