ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
package jnpf.base;
 
import jnpf.base.entity.ModuleEntity;
import jnpf.base.fallback.ModuleUseNumApiFallback;
import jnpf.base.model.module.MenuNumModel;
import jnpf.base.model.module.MenuSelectByUseNumVo;
import jnpf.utils.FeignName;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.List;
 
@FeignClient(name = FeignName.SYSTEM_SERVER_NAME, fallback = ModuleUseNumApiFallback.class, path = "/MenuData")
public interface ModuleUseNumApi {
    @PostMapping("/getUserMenuList")
    List<MenuSelectByUseNumVo> getMenuUseNum(@RequestBody MenuNumModel menuNumModel);
 
    @PostMapping("/insertOrUpdateUseNum")
    Boolean insertOrUpdateUseNum(@RequestParam("ModuleId") String ModuleId);
 
    @GetMapping("/deleteUseModuleNum")
    void deleteUseNum(@RequestParam("ModuleId") String moduleId);
}