Explorar o código

Update UmsResourceService.java

macro %!s(int64=5) %!d(string=hai) anos
pai
achega
8a50b47b52

+ 18 - 0
mall-admin/src/main/java/com/macro/mall/service/UmsResourceService.java

@@ -9,15 +9,33 @@ import java.util.List;
  * Created by macro on 2020/2/2.
  */
 public interface UmsResourceService {
+    /**
+     * 添加资源
+     */
     int create(UmsResource umsResource);
 
+    /**
+     * 修改资源
+     */
     int update(Long id, UmsResource umsResource);
 
+    /**
+     * 获取资源详情
+     */
     UmsResource getItem(Long id);
 
+    /**
+     * 删除资源
+     */
     int delete(Long id);
 
+    /**
+     * 分页查询资源
+     */
     List<UmsResource> list(Long categoryId, String nameKeyword, String urlKeyword, Integer pageSize, Integer pageNum);
 
+    /**
+     * 查询全部资源
+     */
     List<UmsResource> listAll();
 }