puzhibing
2026-02-04 009674d0766baa717747afd26530d2d99eae8e8c
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
package com.xiaopeng.api.feign.operation;
 
import com.xiaopeng.api.factory.RemoteMenuFallbackFactory;
import com.xiaopeng.api.model.operation.SysMenu;
import com.xiaopeng.common.core.constant.SecurityConstants;
import com.xiaopeng.common.core.constant.ServiceNameConstants;
import com.xiaopeng.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
 
import java.util.List;
 
/**
 * 菜单服务
 *
 * @author ruoyi
 */
@FeignClient(contextId = "remoteMenuService", value = ServiceNameConstants.OPERATION_SERVICE, fallbackFactory = RemoteMenuFallbackFactory.class)
public interface RemoteMenuService
{
 
    /**
     * 根据菜单ID列表获取菜单列表
     *
     * @param menuIds 菜单ID列表
     * @return 菜单列表
     */
    @PostMapping("/menu/getMenusByMenuIds")
    R<List<SysMenu>> getMenusByMenuIds(@RequestBody List<Long> menuIds);
 
}