ludc
2024-10-30 0888cf078640e6db9fba2b7fcaa29f449e017371
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package com.vci.web.service;
 
import com.vci.pagemodel.SmFunctionVO;
import com.vci.starter.web.exception.VciBaseException;
 
import java.util.List;
 
/**
 * 收藏功能服务
 * @author weidy
 * @date 2020/7/12
 */
public interface SmFavFunctionServiceI {
 
    /**
     * 添加收藏
     * @param functionId 功能编号
     * @throws VciBaseException 参数为空会抛出异常
     */
    void addFav(String functionId) throws VciBaseException;
 
    /**
     * 移除收藏
     * @param functionId 功能编号
     * @throws VciBaseException 参数为空会抛出异常
     */
    void removeFav(String functionId) throws VciBaseException;
 
    /**
     * 获取当前用户的收藏功能
     * @return 功能的显示对象
     * @throws VciBaseException 查询出错会抛出异常
     */
    List<SmFunctionVO> listFavFunction() throws VciBaseException;
}