parent
2ea03363d1
commit
c40cb4ddcc
@ -0,0 +1,15 @@
|
|||||||
|
package com.mashibing.client;
|
||||||
|
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author zjw
|
||||||
|
* @description
|
||||||
|
*/
|
||||||
|
@FeignClient(value = "business")
|
||||||
|
public interface BusinessClient {
|
||||||
|
|
||||||
|
@GetMapping("/notify")
|
||||||
|
public void notifyBusiness();
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.mashibing.client;
|
||||||
|
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author zjw
|
||||||
|
* @description
|
||||||
|
*/
|
||||||
|
@FeignClient(value = "coupon")
|
||||||
|
public interface CouponClient {
|
||||||
|
|
||||||
|
@GetMapping("/coupon")
|
||||||
|
public void coupon();
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.mashibing.client;
|
||||||
|
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author zjw
|
||||||
|
* @description
|
||||||
|
*/
|
||||||
|
@FeignClient(value = "itemstock")
|
||||||
|
public interface ItemStockClient {
|
||||||
|
|
||||||
|
@GetMapping("/decr")
|
||||||
|
public void decr();
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.mashibing.client;
|
||||||
|
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author zjw
|
||||||
|
* @description
|
||||||
|
*/
|
||||||
|
@FeignClient(value = "ordermanage")
|
||||||
|
public interface OrderManageClient {
|
||||||
|
|
||||||
|
@GetMapping("create")
|
||||||
|
public void create();
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.mashibing.client;
|
||||||
|
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author zjw
|
||||||
|
* @description
|
||||||
|
*/
|
||||||
|
@FeignClient(value = "userpoints")
|
||||||
|
public interface UserPointsClient {
|
||||||
|
|
||||||
|
@GetMapping("/up")
|
||||||
|
public void up();
|
||||||
|
}
|
Loading…
Reference in new issue