记得上下班打卡 | git大法好,push需谨慎

Commit ed5a59b6 authored by 胡佳晨's avatar 胡佳晨

feign 添加 前缀

parent a43d565a
...@@ -15,11 +15,11 @@ import org.springframework.web.bind.annotation.RequestParam; ...@@ -15,11 +15,11 @@ import org.springframework.web.bind.annotation.RequestParam;
fallback = FallbackFactory.Default.class) fallback = FallbackFactory.Default.class)
public interface FeignAdamBaseClient { public interface FeignAdamBaseClient {
@GetMapping("enters/query/depth") @GetMapping("adam/enters/query/depth")
ResponseDto<AdamEntersVo> queryEnters(@RequestParam("entersId") String entersId, ResponseDto<AdamEntersVo> queryEnters(@RequestParam("entersId") String entersId,
@RequestParam("uid") String uid); @RequestParam("uid") String uid);
@GetMapping("addr/query/depth") @GetMapping("adam/addr/query/depth")
ResponseDto<AdamAddressesVo> queryAddresses(@RequestParam(value = "addrId") String addrId, ResponseDto<AdamAddressesVo> queryAddresses(@RequestParam(value = "addrId") String addrId,
@RequestParam(value = "uid") String uid); @RequestParam(value = "uid") String uid);
...@@ -29,6 +29,6 @@ public interface FeignAdamBaseClient { ...@@ -29,6 +29,6 @@ public interface FeignAdamBaseClient {
* @param uid 用户ID * @param uid 用户ID
* @return 是否会员:true-是 * @return 是否会员:true-是
*/ */
@GetMapping("member/check/depth") @GetMapping("adam/member/check/depth")
ResponseDto<Boolean> isMember(@RequestParam("uid") String uid); ResponseDto<Boolean> isMember(@RequestParam("uid") String uid);
} }
...@@ -17,6 +17,6 @@ import java.util.List; ...@@ -17,6 +17,6 @@ import java.util.List;
public interface FeignKylinPerformanceClient { public interface FeignKylinPerformanceClient {
// 演出列表 // 演出列表
@GetMapping(value = "performance/list") @GetMapping(value = "kylin/performance/list")
ResponseDto<List<KylinPerformanceVo>> performanceList(@RequestParam("performancesIds") String... performancesIds); ResponseDto<List<KylinPerformanceVo>> performanceList(@RequestParam("performancesIds") String... performancesIds);
} }
...@@ -12,9 +12,9 @@ import org.springframework.web.bind.annotation.PostMapping; ...@@ -12,9 +12,9 @@ import org.springframework.web.bind.annotation.PostMapping;
fallback = FallbackFactory.Default.class) fallback = FallbackFactory.Default.class)
public interface FeignKylinTaskClient { public interface FeignKylinTaskClient {
@PostMapping("order/checkOrderTime") @PostMapping("kylin/order/checkOrderTime")
ResponseDto<Boolean> checkOrderTime(); ResponseDto<Boolean> checkOrderTime();
@PostMapping("performance/checkPerformanceTime") @PostMapping("kylin/performance/checkPerformanceTime")
ResponseDto<String> checkPerformanceTime(); ResponseDto<String> checkPerformanceTime();
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment