ANDRU-PC\Andru
2023-07-03 263eb35250f6eebec93a4ca0c40adb0610e98de6
提交 | 用户 | age
72e8f2 1 package com.hz.his.feign.service.platform;
A 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.appearance.AppearanceDto;
5 import org.springframework.cloud.openfeign.FeignClient;
6 import org.springframework.web.bind.annotation.PostMapping;
7 import org.springframework.web.bind.annotation.RequestBody;
8
9 /**
10  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
11  */
12 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-appearance")
13 public interface SPhipAppearanceService {
14
15     /**
16      * 开放平台-颜值规划列表
17      */
18     @PostMapping(value = "/appearance/list")
19     Result getAppearanceList(@RequestBody AppearanceDto appearanceDto);
20
21     /**
22      * 开放平台-颜值规划详情
23      */
3e2bc4 24     @PostMapping(value = "/appearance/get")
72e8f2 25     Result getAppearanceOne(@RequestBody AppearanceDto appearanceDto);
A 26
27     /**
28      * 开放平台-颜值规划添加
29      */
30     @PostMapping(value = "/appearance/add")
31     Result addAppearance(@RequestBody AppearanceDto appearanceDto);
32
33     /**
34      * 开放平台-颜值规划修改
35      */
36     @PostMapping(value = "/appearance/edit")
37     Result editAppearance(@RequestBody AppearanceDto appearanceDto);
38
39     /**
40      * 开放平台-颜值规划删除
41      */
42     @PostMapping(value = "/appearance/del")
43     Result delAppearance(@RequestBody AppearanceDto appearanceDto);
44 }